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.


  • Profile Image

    trouble with condition statements

    Asked by zifboxbiz on March 06, 2014 at 09:46 PM

    I'm having trouble with (what I thought) was a simple 'show' condition on a radio button set.

    You can see the form at the URL supplied.

    The problem is with the 'Number of people in this booking' fleld in the Step 1 section.

    In the Step 2 section there is ' Person 2', 'Person 3', 'Person 4'.

    If 'Number of people in this booking' shows 1, then none of the fields (Person 2, Person, 3, Person 4) should appear.

    If 'Number of people in this booking' shows 2, then only 'Person 2'  should appear.

    If 'Number of people in this booking' shows 3, then Person 2 and Person 3 should appear.

    If 'Number of people in this booking' shows 4, then Person 2 and Person 3 and Person 4 should appear.

    I've used conditions that I thought would work (as above), but they don't.
    Any ideas?
    Page URL:
    http://www.rachelhore.com/wintersong/wintersong2014_apply.html

    problem div section 3
  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 07, 2014 at 12:26 AM

    Hello zifboxbiz,

    If I understand your requirement correctly, you want to show the number of textboxes based on user selection of "Number of Premises". Is that correct?

    There is a better way to achieve your requirement. Idea is to move multiple fields inside a form collapse field and show hide this form collapse based on the user selection. That way it is easier to show/hide multiple fields together. The following guide should help you: http://www.jotform.com/help/196-How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry

    I have cloned your form and did the changes to display the form fields based on the user selection. I have deleted the duplicate conditions and you may need to add them as per your requirment in the existing conditions. Please take a look at the following form and see if this is what you wanted to achieve: http://form.jotformpro.com/form/40648633056961

    Feel free to clone this form in your account. The following guide should help you in form cloning:  http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by zifboxbiz on March 07, 2014 at 01:00 AM
    That's magic. Thanks.
    neville ross


    phone 0416 011 590
    fax 02 4759 1105
    email ngr@zifbox.com.au
    web www.zifbox.com.au

    ...
  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 07, 2014 at 01:24 AM

    Hello Neville,

    You are welcome.

    I'm very pleased that I was able to help you.

    Do get back to us if you have any questions.

    Thank you!