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

  • Profile Image
    Robert
    Asked 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
    NeilVicente
    Answered 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.