How to create conditions based on external source?

  • Profile Image
    INTERKULTUR
    Asked on February 23, 2017 at 07:00 AM

    Hello,

    is it possible to create a form with conditional content from a source like an external list or a hiden form page or from a hidden list?

    Best,
    INTERKULTUR

     

  • Profile Image
    Ian
    Answered on February 23, 2017 at 10:34 AM

    Please provide more information about what exactly you are trying to achieve so we can suggest you some workaround if possible.

  • Profile Image
    INTERKULTUR
    Answered on February 23, 2017 at 11:29 AM

    Hi Ian,

    we want to compare single content fields from a external or hidden table by the conditional logic.

    Example:

    1. page: The user chose a country.

    (We have a table with two columns, one with the country and one with a pricing group number.)

    If the user chose a country, the conditional logic should be compare the country and the pricing group. Then the conditional logic should skip to another form page depending of the chosen pricing group number.

  • Profile Image
    Kevin_G
    Answered on February 23, 2017 at 01:59 PM

    Unfortunately, it is not possible to include an external source in the form. 

    You will need to manually create each condition and the fields you need to compare need to be fixed in the conditions statement. 

    Here's a guide that will help you to skip to a page based on conditions: https://www.jotform.com/help/350-How-to-Skip-Pages-Using-Conditional-Logic 

    You can also get the form's source code and add your custom script to achieve this, this guide will help you to get the source code: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form 

    Hope this helps.