Populate Drop Down

Home Forums Quform WordPress Populate Drop Down

This topic is: resolved
Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #2693
    lawrencepepper
    Participant

    Never mind,

    Fixed.

    Thanks again for the help.

    L

    #3381
    jasecorn
    Participant

    I’m using this method to populate a drop-down.
    I was wondering if it’s possible to extend this further by auto filling another field via an SQL query based on the value selected in the drop-down.

    For example;
    SQL table contains products, and I have these populate the drop down.
    Another field in the table contains whether the product is in stock or out of stock.
    I want a separate field in the form to populate the stock status.

    I know I could display the stock status next to the product in the existing drop down with a CONCAT query, but I specifically want it to populate a different field. My reasoning is that I want to save this data into a completely different database table, and the two values need to be in different SQL columns. A CONCAT would put them into the same column.

    Would this be possible?

    #3388
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #16820
    movisart
    Participant

    Why can’t i see the replies to this topic?

    #16821
    movisart
    Participant

    this too!?

    #16829
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    • This reply was modified 8 years, 8 months ago by Ally.
Viewing 6 posts - 16 through 21 (of 21 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy