Making a field "required" depending on previous answer

  • Profile Image
    stedmunds
    Asked on September 28, 2012 at 06:23 AM

    Hi,

     

    I have a form for getting free tickets.  The form asks how many tickets you need, and then the names of each person that will be getting a ticket.

     

    Is there any way for me to make the "names of each person getting a ticket" set to required depending on how many tickets the person asked for?  For example:

     

    I go to the website, I say I want 3 tickets.  As soon as I choose "3", the next 3 name fields HAVE to be filled in.

    As it currently stands, I can't force people to fill in those fields, in case they only choose 1 ticket.

    I hope I'm making sense?

     

    Take a look at the website fir a better idea

  • Profile Image
    moonzkie
    Answered on September 28, 2012 at 06:43 AM

    Hi,

    Unfortunately, this feature is not yet available. Although you can make the first name required.

    Thank You.

  • Profile Image
    NeilVicente
    Answered on September 28, 2012 at 04:59 PM

    @stedmunds

    A workaround to this limitation can be achieved by hiding the 2nd and 3rd name fields conditionally, depending on the chosen number of tickets.

    Check out this example for a demo: http://www.jotform.me/form/22716811542450?

    You may have it cloned to your account to examine how the conditions work. As a brief explanation, I have set all the name fields as required, then I used conditions to display them only if the corresponding no of ticket is selected.

    Feel free to contact us again should you need further information on this topic. Thanks!

  • Profile Image
    stedmunds
    Answered on October 01, 2012 at 03:35 AM

    Thank you SO much!

    That is EXACTLY what I needed.......  although your avitar makes me read your solution in Dexter's voice which, in my opinion, made it even better :)