What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to create conditions based on external source?

    Asked by INTERKULTUR 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

    Answered by Ian 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

    Answered by INTERKULTUR 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
    JotForm Support

    Answered by Kevin_G 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.