I have a sub-rule but it's not working

  • lizziesorkin
    Asked on June 24, 2015 at 3:43 PM

    I made a third rule that asks if a person selects "6 months or less" when they've been a NAD member, I don't want "Why are you still a member today?" question to appear.  I made the rule but its still showing.

  • jonathan
    Replied on June 24, 2015 at 5:28 PM

    I checked the form http://www.jotformpro.com/form/50813790661962 and I see conflicting condition rules on the 3 conditional statement

    I have a sub rule but its not working Image 1 Screenshot 40

     

    Like in rule#1 and rule#3 the following condition exist on both, which is conflicting

    I have a sub rule but its not working Image 2 Screenshot 51

    I have a sub rule but its not working Image 3 Screenshot 62

     

    So to fix this, I suggest removing that conflicting Hide field in the Rule#1 or Rule#2 and let only Rule#3 take care of the hiding of those fields.

    Hope this help. Let us know if you need further assistance.

    Thanks.

     

     

     

  • lizziesorkin
    Replied on June 25, 2015 at 2:18 PM

    But the first two rules are regarding "Are you a NAD member?" -- so how can I have a sub-rule under that?

  • David JotForm Support Manager
    Replied on June 25, 2015 at 3:47 PM

    You can not create nested rules like:

    If condition

    else if 

    condition

    else

    codition

    What you can do is add a new rule, with the Add New Rule button and create something like this:

    If Field is equal to X

    or

    if Field is equal to Y

    Show Z

    So, I think you need to re-calibrate your conditions to avoid conflicts.

  • lizziesorkin
    Replied on June 26, 2015 at 9:32 AM

    Okay, I made a new rule -- and it works.  But now the "Why are you still a member" question appears after the "Are you a NAD member" question -- I don't want that to appear.

  • David JotForm Support Manager
    Replied on June 26, 2015 at 12:15 PM

    The questions "Why are you still a memeber of NAD today?":

    I have a sub rule but its not working Image 1 Screenshot 60

    Still appears, because there are still conflicts between conditions:

    In the first condition, the field is conditioned to show if "Are you a member of the NAD?" is equal to "yes"

    I have a sub rule but its not working Image 2 Screenshot 71

    In the contrary,  in  the second condition, it  is set to show if same question "Are you a member of the NAD?"  is equal to "no":

    I have a sub rule but its not working Image 3 Screenshot 82

    Also, I noticed that you are setting to show "Are you a member of the NAD?" if itself is equal to yes or no:  

    First condition:

    I have a sub rule but its not working Image 4 Screenshot 93

    Second condition:

    I have a sub rule but its not working Image 5 Screenshot 104

    Please make sure to avoid this type of conflicts in your conditions. Let us know if you need more help, we will be glad to assist you.

     

  • lizziesorkin
    Replied on June 26, 2015 at 12:44 PM

    Can someone help fix the conditions because I really cannot figure this out. I basically need to have no further questions shown after "Are you a NAD member" initially.  Then once the person answers yes, it shows the rest. If the person answers no, it shows only a few.  

    If the person selects 6 months, then hide the "why are you still a member today".

     

    Right now, I like how the survey is not showing further questions after the NAD membership. When I add a new condition or rule, that changes and I can't allow that.

  • David JotForm Support Manager
    Replied on June 26, 2015 at 2:22 PM

    We will be glad to assist you with that on our free time, please list the fields that will  be shown if the answer is "yes", and the fields that will be shown if the answer is "no".

    Please note that is contradictory to show a field if the answer is "yes" and at the same time "no", if that is the case, do list the field, it will be shown by default on forms load.

     

  • lizziesorkin
    Replied on June 26, 2015 at 2:45 PM

    Great, okay.  Maybe clone the entire survey so that I still have the original as a back-up.

     

    At first view:

    The first nine questions (including "Are You a Member" is shown.

    Then, if YES is chosen, show:

    - How Welcoming...

    - What is your membership type

    - Are you member of any of the following

    - how long have you been a member

    * if person selects "less than six months" do not show "why are you still a member"

    - how satisfied are you

    - what is your preferred method

    - why did you become a member

    - why are you still a member

    - have you donated 

    - what made you donate

    - have you considered making a gift

    - additional comments

    - comments in ASL

    - submit button

    If NO is chosen (for "Are you a member"), show:

    - have you ever been a member

    - please share why you are currently not a member

    - additional comments

    - comments in ASL

    - submit button

  • jonathan
    Replied on June 26, 2015 at 3:35 PM

    Thank you for providing the requested details.

    We will get back to you once we have completed the described requirement.

    Thanks.

  • Charlie
    Replied on July 1, 2015 at 11:03 AM

    Hi,

    I've cloned your form for testing and demo purposes, see if this works as you expected: http://form.jotformpro.com/form/51814207934960.

    We'll wait for your response.

    Thanks.