- centralpennsaabAsked on October 11, 2016 at 09:59 PM
I'm trying to design a few questions for a fairly complex registration form, and need to determine how to build logic that if a number is selected it asks for the appropriate number of text boxes.
For example, if I ask how many guests from 1 to 5, I would like it to then ask for a name for each person. Is there an easy way to do this?
- JotForm SupportChriistianAnswered on October 12, 2016 at 02:47 AM
You will need to add the maximum number of Name fields that you will need for your requirements. So if you are asking for guests from 1 to 5, you will need to add 5 name fields on your form.
Then you can use the Show/Hide conditions to show the appropriate amount of Name fields based on the user's selection. You can follow this guide to learn How to Hide or Show Multiple Fields at Once.
Below is a sample condition for when the user selects 2. You will also have to setup the same conditions for 1, 3, 4 and 5.
If you need further assistance, please let us know.