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

    Problems Showing A Field Using Multiple Conditions

    Asked by StudioBe on September 11, 2012 at 04:20 PM

     

     

    I am having an issue with a form I built to track nightly performance in our business. There is a section in the form that allows you to choose how many “name boxes” you would like to show. In order to accomplish this I used a drop down box with options “1” through “8”. The idea was that when a user selects “1”, one name box would appear, if you selected “2”, two would appear and so on all the way to eight. The way I set my conditions was like this:

     

    If ______ is equal to “1” then show “1”. If ______ is equal to “2” show “1”, if ______ is equal to “2” show “2”. If ______ is equal to “3” show “1”, if ______ is equal to “3” show “2”, if ______ is equal to “3” show “3”.

     

    I did this all the way up to eight (that’s a ton of conditions)! Now when I view the form nothing works except “8”. If I select “1” – “7” nothing appears. Can someone please tell me what I did wrong here? Thanks!

    Page URL:
    http://jotformpro.com/form/22537198705965

  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 11, 2012 at 04:45 PM

    You should consolidate conditions that result to the same behavior into one using the Add New Rule function.

    For example, the following conditions

    SHOW Stylist #1 field.
    When "How Many People Were Under 10%?" Equals To "1"

    SHOW Stylist #1 field.
    When "How Many People Were Under 10%?" Equals To "2"

    SHOW Stylist #1 field.
    When "How Many People Were Under 10%?" Equals To "3"

    SHOW Stylist #1 field.
    When "How Many People Were Under 10%?" Equals To "4"

    SHOW Stylist #1 field.
    When "How Many People Were Under 10%?" Equals To "5"

    SHOW Stylist #1 field.
    When "How Many People Were Under 10%?" Equals To "6"

    SHOW Stylist #1 field.
    When "How Many People Were Under 10%?" Equals To "7"

    SHOW Stylist #1 field.
    When "How Many People Were Under 10%?" Equals To "8"

    should be combined into this:


    Apply the same changes to the other fields that need to be conditionally displayed.

    This solution should correct the problem you have described.

    Feel free to ask if you have further questions.