How to show field based on option that was selected?

  • ipbr21054
    Asked on January 31, 2017 at 10:42 AM

    It is a MUST for customers that contact me if regarding HONDA to complete the field "FULL VIN Number Only If Honda"

    BUT if i put the * next to it on the form when i edit then it is a REQUIRED field to everybody then.

     

    How can this be corrected.

    A drop down box maybe with vehicle selection list then when HONDA is selected this field MUST be completed otherwise do not show this field ?

     

    Does that make send,if so please advise a demo form that i could look at.

  • BJoanna
    Replied on January 31, 2017 at 10:54 AM

    If you want that field "FULL VIN Number Only If Honda" is filled only by users that contact you about Honda, then you can use conditional logic to hide/show mentioned field. 

    Like you mentioned you can add a dropdown filed with list of vehicles and show field "FULL VIN Number Only If Honda" only when Honda option is selected. This way you can also require mentioned field.

    How to Show or Hide Fields Base on User's Answer

    You can set your condition like this.

    How to show field based on option that was selected? Image 1 Screenshot 20

    Here is my demo form: https://form.jotform.com/70304348751958 

    Feel free to test it and clone it

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

  • ipbr21054
    Replied on January 31, 2017 at 12:09 PM

    Hi,

    That looks spot on,thanks very much.

     

    Question please.

    I want to clone it BUT i need to keep the same form number currently in use,reason being i have some 70 pages etc where i would need to edit.

    Is there an easy way to do this or do i just edit those 70 pages ?

     

    Please advise before i make any changes.

  • BJoanna
    Replied on January 31, 2017 at 12:31 PM

    If you want to use same form ID then I would suggest you to edit your form and add dropdown field with list of vehicles and set same condition like on screenshot I provided you. 

    I saw that you have already clone my form. You can now inspect it and see what I changed. Than you can make same changes on your original form. 

    Let us know if you need further assistance. 

  • ipbr21054
    Replied on January 31, 2017 at 1:37 PM

    Well this isnt going to plan.

    This form 62115565434352 in question.
    Adding the conditions is the issue.

    As you can see ive done it but missing 2 parts to the end.

    In the DO section i dont see how to put the below as its not an option to select from your lsit ?

     

    D0 = Show

    Field 8 = FULL VIN Only If Honda

  • BJoanna
    Replied on January 31, 2017 at 2:23 PM

    Your form with ID 60705884010349 has field with label  "FULL VIN Only If Honda" and I was testing that form previously.

    You do not have field with label "FULL VIN Only If Honda" on the form ID 62115565434352. Label of your field is "FULL VIN NUMBER REQUIRED" and condition for that field is set correctly.

    How to show field based on option that was selected? Image 1 Screenshot 30

    I have tested your form and mentioned field is shown only when HONDA is selected.

    How to show field based on option that was selected? Image 2 Screenshot 41 

    I would suggest you to set your field "Select Your Vehicle" above field "FULL VIN NUMBER REQUIRED". Also your field is not required. 

    Let us know if you need further assistance.