How to show or hide fields based on user's answer

  • Jessica
    Asked on August 24, 2022 at 2:08 PM

    Has there been a solution to this issue yet? I am having the same problem. I am trying to create an order form for building materials. I have each material with a drop down box for qty and one for color but I need a text box for each one as the length will always be different for each order and for each product in each order. Jotform has exceeded all of my expectations and has been so helpful I’m surprised this option isn’t available as I’m sure it is a relatively common feature.

  • Isidro_A
    Replied on August 24, 2022 at 4:36 PM

    Hello Jessica,

    Thanks for reaching out to Jotform Support. We'll look into this and get back to you with an update as soon as possible.

    Thank you for your patience.

  • Isidro_A
    Replied on August 24, 2022 at 5:42 PM

    Hello Jessica,

    Thank you for your patience! I’m sorry you're having difficulties getting that feature to work. That is actually possible using conditional logic, we just need to set up some conditions. Please see the screencast below.

    1661377147 63069a7b9ea7a Conditional Log Screenshot 10

    For reference on what conditional logic I used, you can use my cloned form( as a guide. You can also clone it by following the guide here ( Clone URL guide).

    Give it a try and reach out again if you have any other questions.

  • Jessica
    Replied on August 24, 2022 at 6:12 PM

    Thank you so much for your response. That’s not exactly what I am looking for unfortunately. I am using the product list to create an order form. I have several categories for products and then within those categories I have the products and for each product I’d like to have the photo of the product, name of the product and description. Then when someone orders they will select the product check box followed by entering in the quantity, select a color from the drop down, then the piece that is missing is a free text box to put the length of material being ordered. I attached a photo of what I have now vs what I am looking for (in red).1661379116 6306a22cd69cc 2848E462 A74E 4 Screenshot 101661379113 6306a229db6f9 CFFB5019 D07D 4 Screenshot 21phoI attached a

  • Lorenz JotForm Support
    Replied on August 24, 2022 at 9:45 PM

    Hello Jessica,

    Thank you for getting back to us. What you're trying to accomplish is actually possible using the show/hide condition and a normal short text field. However, it is currently not possible to place the text field just below the product itself or category, it will be placed below the product list element instead. Let me show you how:

    • Add a short text field element.
    • Create a show/hide condition
    • Set the condition to show the short text field if a particular product has been selected.

    1661391869 6306d3fd8f5af 6671 Screenshot 10

    If this is not exactly what you're trying to accomplish, please let us know.