What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Is it possible to add a condition in each value on a select box?Asked by bestday 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.
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.
Then you would go to the conditions and select the Show/Hide option
Then you will create your first condition which you will then copy four times and edit each one for each answer that is selected.
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"
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.
Below is how it would look when "5" has been selected
It seems to generate the result that you would like. You can see my form at work
I hope that this helps!
That's pretty much what I was looking for!
Thank you, ShadaeTrotman
Great! I was happy to help.
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.