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

    Bug - URL parameters do not trigger conditional logic (continued)

    Asked by Robert on January 18, 2012 at 03:37 AM

    The 'reply' fucntion seems to be offline at the moment - I see there is already a query open about this.

    As such I am replying to my original thread here:

    http://www.jotform.com/answers/68473-Bug-URL-parameters-do-not-trigger-conditional-logic

    Unfortunately I need the parameter to come in as a URL parameter - is there any way to trigger the conditional rules? Even from javascript outside the page or if I embed the source on my own page?

    I have modified the original form to try and make the field populated by the URL parameter hidden on entry in the hope that when it appeared it would apply the conditions. Unfortunately it does not.  

  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 18, 2012 at 10:01 AM

    Robert,

    Conditions are triggered by user actions (i.e, clicking or pressing a key). Thus, prepopulating a field either through URL parameters or by setting a default value will not trigger a condition.

    For this to work, you must replace the hidden box with a regular text box and hide it with a text box. You must also use page breaks to hide the field you want hidden. This is to force a "user action" so that the conditions will trigger.

    View this similar thread to learn more about this workaround.