Is it possible to add a condition in each value on a select box?

  • bestday
    Asked on September 16, 2014 at 12:28 PM

    Hi guys, I'm wondering if it's possible to add a condition in each value of a select box.

     

    Example: How many cats you have? [select box] (it will be displayed values from 1 to 5)

    if the user pick value "3" it will show up 3 text boxes in my form so he/she can fill up the names of each cat.

    if the user pick value "4" it will show up 4 text boxes and so on.

     

    Is it possible to implement?

    Thanks in advance, Maria.

  • ShadaeTrotman
    Replied on September 16, 2014 at 1:08 PM

    Hi bestday,

    I reviewed your question and I was able to create the conditions to meet your objectives.

    You will need to create your drop down field and and your five text boxes. The one I created looked like this.

    Is it possible to add a condition in each value on a select box? Image 1 Screenshot 70

    Then you would go to the conditions and select the Show/Hide option

    Is it possible to add a condition in each value on a select box? Image 2 Screenshot 81

    Then you will create your first condition which you will then copy four times and edit each one for each answer that is selected.

    Is it possible to add a condition in each value on a select box? Image 3 Screenshot 92

    This shows that whenever any option is selected the first "Cat Name" (I later changed it to Cat Name 1 to show the difference) is selected.

    You would save the condition, then duplicate it. Remove the first rule for selecting "1" and change the action the show "Cat Name 2"

    Is it possible to add a condition in each value on a select box? Image 4 Screenshot 103

    You would then do a condition to show "Cat Name 3", "Cat Name 4" and "Cat Name 5". You can just duplicate and edit. Your conditions would look like this after all of them have been done.

    Is it possible to add a condition in each value on a select box? Image 5 Screenshot 114

    Below is how it would look when "5" has been selected

    Is it possible to add a condition in each value on a select box? Image 6 Screenshot 125

    It seems to generate the result that you would like. You can see my form at work

    I hope that this helps!

  • bestday
    Replied on September 16, 2014 at 1:58 PM

    Yay!

    That's pretty much what I was looking for!

     

    Thank you, ShadaeTrotman 

     

     

  • ShadaeTrotman
    Replied on September 16, 2014 at 2:17 PM

    Great! I was happy to help.

  • Ben
    Replied on September 16, 2014 at 3:51 PM

    Hi Maria,

    It is nice to see that you were able to find the answers you were looking for while creating your JotForm and that ShadaeTrotman was able to assist you along the way.

    If you however ever have a need to ask for something else regarding JotForm, do let us know and we will be happy to help.

    Best Regards,
    Ben