Is the conditional logic using variables?

  • Cody
    Asked on February 21, 2018 at 3:57 PM

    I have two questions: 

    1. The form that I need to build it out is quite complex and offers a range of different input choices that will be related to other fields. I am planning on using your conditional logic capabilities for this. However, I have come across other form builders that implement conditional logic based on (1) or all set variables being in place. I need to set up the conditional logic so multiple different matches of set variables can be used as triggers. Is the possible with your conditional logic? 

    2. I need the contents of form submissions emailed out to a specific recipient in an HTML table format. The reason being that we take the HTML table format and export the contents into a .xml file that we can then import into our administrative software. If a submitted form can be emailed as a .xml file that works too. Is this a capabilities of Gravity Forms?
     

    --

    And just to confirm, these forms can be embedded onto websites, correct?
  • Support_Management Jotform Support
    Replied on February 21, 2018 at 5:26 PM

    1. The form that I need to build it out is quite complex and offers a range of different input choices that will be related to other fields. I am planning on using your conditional logic capabilities for this. However, I have come across other form builders that implement conditional logic based on (1) or all set variables being in place. I need to set up the conditional logic so multiple different matches of set variables can be used as triggers. Is the possible with your conditional logic? 

    We don't use variables with our Conditional Logic. What we use as triggers are the actual fields themselves. For example:

    IF field A IS FILLED OUT, THEN SHOW field b

    This can be applied to single or multiple fields.

    Related guides:

    Smart-Forms-Using-Conditional-Logic

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

    Hide-or-Show-Multiple-Fields-at-Once

    2. I need the contents of form submissions emailed out to a specific recipient in an HTML table format. The reason being that we take the HTML table format and export the contents into a .xml file that we can then import into our administrative software. If a submitted form can be emailed as a .xml file that works too. Is this a capabilities of Gravity Forms? 

    This question was moved to a separate thread https://www.jotform.com/answers/1392579

    And just to confirm, these forms can be embedded onto websites, correct?

    This question was moved too https://www.jotform.com/answers/1392580

    We strive to stick with 1 topic/question per thread to avoid confusion. I'll be replying on both threads shortly.

  • Cody
    Replied on February 22, 2018 at 9:26 AM

    Let me be more specific, just so I can clarify the capabilities of the conditional logic. Here is an example of a form section where we need a very specific type of conditional logic.

    Whenever any (1) of the (3) checked options in the "This transfer is to" section are selected the "Purchase Price" input field needs to appear. This is easy because I can set the logic to show the "Purchase Price" field any of the conditions are met. However, if any of those checked options are selected with the "Seller" selection in the "I am the" section, then the "I would like CloseMyTimeShare.com to collect the purchase price from the buyer" section needs to appear. 

    Other form builders offer conditional logic options based on any (1) or all conditions being met. This presents a problem because I don't want the "I would like CloseMyTimeShare.com to collect the purchase price from the buyer" section to appear any time the "Seller" selection is chosen. It has to be on the condition that the "Seller" selection is chosen in combination with any (1) of the checked selections in the "This transfer is to" section.

    If I set the logic to require any condition to be met, then the "I would like CloseMyTimeShare.com to collect the purchase price from the buyer" section appears unconditionally. If I set the logic to all conditions need to be met, then the "I would like CloseMyTimeShare.com to collect the purchase price from the buyer" section will only appear if the (3) selections in the "This transfer is to" section are chosen - which would never happen. I need to set the logic so that a field may appear based on multiple different combinations of conditions. The only way I've been able to do this with other form builders is to create copies of an input field and set each combination of the conditions to trigger the field. 

    1519308398form example Screenshot 10

  • BJoanna
    Replied on February 22, 2018 at 10:58 AM

    When setting up a condition you and add multiple IF rules. You can also choose if ALL or ANY if rules have to match for a condition to be true.

    To show "I would like CloseMyTimeShare.com to collect the purchase price from the buyer" field only when the Seller option is selected and when any option is selected from the field "This transfer is to", you can set your condition like this.

    Is the conditional logic using variables? Image 10

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

    Feel free to test it and clone it

  • Cody
    Replied on February 22, 2018 at 11:25 AM

    That is perfect! Thank you!