Problems Showing A Field Using Multiple Conditions

  • Profile Image
    StudioBe
    Asked 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!

  • Profile Image
    NeilVicente
    Answered 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.