Help with a condition

  • Profile Image
    ipbr21054
    Asked on May 24, 2017 at 05:23 AM

    Hi,

    The form in question is 62115565434352

     

    As you will see there are other conditions in place but we are to edit them or delete to suit.

    I need to add condition  BUT ONLY IF A HONDA PART NUMBER is in the Part Number field.

    Currently i am unable to set a condition for this,

     

    Example,

    If Honda012 or Honda026 or Honda033etc etc is in the part number field then conditions will be shown.

     

    But if Porsche001 or Fiat001 or Audi003 etc is in the part number field then no conditions will be shown on the form

     

    Please can you advise how to do this.

     

     

  • Profile Image
    cem
    Answered on May 24, 2017 at 05:53 AM

    Hey ipbre21054,

    First thing that comes to my mind is to creating bunch of conditions with the "Is Equal To" to state similar to one of your conditions (at below) which would take time but would not change your form fields.

    My other suggestion would be adding "Dynamic Dropdows" which is a widget with ability to show/hide options based on previous selections. To clarify solution, you could add a two level "Dynamic Dropdowns" where first level would require your "Vehicle Make" information and second level would show parts related to that "Vehicle Make" choice. By doing that, you would also eliminate showing unnecessary part numbers at first and makes viable to set condition based on your "Vehicle Make" choice at first level of "Dynamic Dropdowns". I have made an example for you at below:

    First create a "Dynamic Dropdowns" widget similar to the screenshot at below:

     

    Afterwards fill "Values" parameter with something similar to next screenshot and click "Update Widget".

    Finally you can set a condition based on "Dynamic Dropdowns" with "Contains" state,

    I hope it will be helpful to you. For more informations about widgets and conditions can be found at following pages:

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form

    Thank you for writing us and feel free to tell us if you have more questions.

    Have a nice day!