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

    URL Variables sometimes not sent with form

    Asked by hpeeters on September 25, 2014 at 08:50 AM

    I use extra variables in the URL (website= & url=) to identify the website the form is sent from. For example I use javascript and call the form with the following url:

    https://secure.jotformeu.com/jsform/40192850735354?website=Website%20Name&url=www.websiteurl.nl

    This works 9/10 times but very few times the website name & url is not sent with the form. Then we we can not identify from which website the form is sent. Any idea why this sometimes doesn't work?


    Rgds,


    Henry

    variables name jsform which website
  • Profile Image
    JotForm Support

    Answered by david on September 25, 2014 at 10:46 AM

    Hi,

    Though I am unsure why your code does not work all the time, we do have a "Get Referrer" widget that can accomplish the same thing:

    http://widgets.jotform.com/app/get_referrer

    Adding this would allow you to potentially capture the referral sources that your script does not.

  • Profile Image

    Answered by hpeeters on October 06, 2014 at 11:22 AM

    Hi David,


    How do I set this up? Where can I see what the referrer widget sents?

    Regards,


    Henry

  • Profile Image
    JotForm Support

    Answered by david on October 06, 2014 at 11:36 AM

    Hi,

    Simply add the widget to your form and the referral URL will be included in each submission.

    No other set up is needed.

    Let us know if you have any further questions and we will be happy to help.

  • Profile Image

    Answered by hpeeters on October 13, 2014 at 12:03 PM

    Hi there,

    I now have rewritten my forms to work with the referral widget, but still sometimes the conditions don't work and the fields are not filled (are empty). Strange thing is that the referral widget shows the URL that form is sent from. So it seems that the conditions don't work all the time?


    I use these conditions:

    If referrer contains "www.URL.com" then insert "www.URL.com" into URL

    If referrer contains "www.URL.com" then insert "Name of Website" into URL

    If referrer contains "www.URL.com" then redirect to "http://www.URL.com/thankyoupage.html"

     

    Any help to sort this issue out is appreciated!

     

    Rgds,

    Henry