Get Form Page URL widget: Value not being recognized in conditions

  • Profile Image
    bhage
    Asked on November 04, 2017 at 02:50 PM

    Hi!

    I have a simple form that used to work and now the conditions are not displaying correctly.  When the URL contains "Bernick" the header text box is supposed to change.  I do not know why it stopped working.  Thank you!!!!!!!

  • Profile Image
    TREVON
    Answered on November 04, 2017 at 05:47 PM

    Thank you for contacting us. I have run several tests and I was able to replicate the issue. Kindly allow me to escalate this issue to our Level2 support for further analysis and resolution. We will update you on this thread once the issue is resolved.


  • Profile Image
    bhage
    Answered on November 04, 2017 at 06:00 PM

    Thank you! 

  • Profile Image
    Mike_G
    Answered on November 04, 2017 at 09:13 PM

    On behalf of my colleague, you're welcome!

    I understand that the issue you are encountering with the Get Form Page URL widget being used in conditions is already escalated by my colleague, Trevon. We would like to apologize for any inconvenience if we cannot provide any ETA to when it will be fixed. However, in the meantime, you can try the workaround I have created to make your form work just like before.

    Here's what you need to do:

    In your form, add an additional Short Text Entry field and a DateTime Single widget.

    1509843306t20_54_07.png

    Those can later be hidden on the form using CSS codes — How-to-Inject-Custom-CSS-Codes

    After that, create a condition that will pass the value of the Get Form Page URL widget to the additional Short Text Entry field if the DateTime Single widget is filled (which will always be on form load).

    1509843462t20_56_36.png

    Then, update the conditions in your form and make it so that it is based on the value of the additional Short Text Entry field and not on the Get Form Page URL widget.

    1509843657t20_59_48.png

    Below are the CSS codes you need to hide the Short Text Entry field and the DateTime Single widget in the form.

    li[data-type="control_widget"], li[data-type="control_textbox"] {

        display: none !important;

    }

    Note: The CSS codes may only work specifically with your form.

    Here's a clone version of your form where I have applied the workaround above.

    https://form.jotform.com/73077802090959

    https://form.jotform.com/73077802090959?Bernick


    If you have any further questions regarding this, please feel free to contact us again anytime.

  • Profile Image
    bhage
    Answered on November 05, 2017 at 10:43 AM
    This works, thank you!
    Can I ask why you have to inject the CSS to hide and not just use the native Hide field feature?
    ...
  • Profile Image
    Mike_G
    Answered on November 05, 2017 at 12:28 PM

    The workaround I have provided you above is commonly used in approval processes where the form needs to be viewed/submitted also in edit mode. Although hiding the additional textbox field from its properties should work with your form requirements, I got used to hiding it using CSS codes as a practice since hiding the field from its properties don't seem to work in edit mode.

    As for the DateTime Single widget, the field generates its value on form loads and we need to ensure that the widget is filled so it will not break the process. That doesn't seem to work if the field is hidden from its properties. And hiding it using CSS codes will just make the widget work even if it is not visible on the form.

    I hope this helps. Please let us know if you have any further questions.