Different number of fields appear based on an input valve

  • AA_C
    Asked on March 3, 2015 at 5:18 PM

    One field of my form asks for the number of rings being used.

    The next input field asks for ring dimensions.

    Can I have a different number of ring dimensions field(s) appear according to the number of rings entered?

    The entered number rings has a range between 1 and 6.

    eg. a person enters [ 3 ] for number of rings so 3 fields appear asking for the ring dimensions and they are required.

  • David JotForm Support
    Replied on March 3, 2015 at 5:31 PM

    Hi,

    You could do this with several conditionally shown fields.  Have the field to enter the number of rings, then enough fields for your max number of rings to enter their dimensions:

    Different number of fields appear based on an input valve Image 1 Screenshot 30

    Different number of fields appear based on an input valve Image 2 Screenshot 41

    Something similar to the above.  Though the conditions to show the fields may need a bit of tweaking.

     

  • AA_C
    Replied on March 3, 2015 at 9:18 PM

    Hi David,

    I worked with your idea and made it work. Thanks for the help.

    Robert

  • Ashwin JotForm Support
    Replied on March 4, 2015 at 1:43 AM

    Hello Robert,

    On behalf of my colleague, you are welcome. 

    Do get back to us if you have any questions.

    Thank you!