Using Get Referrer widget to show/hide fields in the form

  • Profile Image
    iondjp
    Asked on May 17, 2017 at 03:03 PM

    I would like to assess the Referrer URL in a condition to determine hide/show options on my form. It seems that the Referrer URL is only saved into the form when the submit button is clicked. Is there a way to retrieve and use the Referrer before?

    I have attempted to use both of these widgets but have not succeeded.

  • Profile Image
    Welvin
    Answered on May 17, 2017 at 03:18 PM

    I've tried the Get Referrer widget, it worked me.

    Demo form: https://form.jotformpro.com/71365869567979. I've added a conditional logic that would show the submit button when the referrer "contains" the ID of this thread (1147387).

    You need to access this thread and click the form link from this thread instead of clicking through your email. 

  • Profile Image
    Welvin
    Answered on May 17, 2017 at 03:19 PM

    Here's a proof:

  • Profile Image
    iondjp
    Answered on May 25, 2017 at 09:07 PM

    I'm sorry I never did get this to work as I expected. I now seem top be having issues with other conditions also.

    For example, I wanted to setup pages. I wanted to be able to skip to Page 6: Submit if the Call Centre question was set to 'Yes' on the first page. It does not. I have read numerous postings on the support forums and have not been able to resolve.

    Would you mind taking a look. The form is https://form.jotform.ca/70871013832249

    The field 'Call Centre' is on the bottom of the first page.

     

  • Profile Image
    Kiran
    Answered on May 25, 2017 at 11:23 PM

    Since the other question is not related to the original thread, we'll address it on a separate thread shortly.

    https://www.jotform.com/answers/1155209

    Thank you! 

  • Profile Image
    iondjp
    Answered on June 05, 2017 at 11:08 PM

    My Apology....I think I have sorted this out for myself. I was mistaken how the Referrer Widget works.

     

  • Profile Image
    Kiran
    Answered on June 06, 2017 at 12:24 AM

    No problem. Glad to see that you have figured out the issue and the issue is now resolved. Please do not hesitate to get back to us if you need any further assistance. We will be happy to help.

    Thank you for using JotForm!