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

    can you explain in more details the "1.

    Asked by etobic on April 10, 2012 at 05:18 AM

    can you explain in more details the "1. Insert a hidden box to your form, name it to something like "referrer" or "website""

    I did it all according this tutorial and I'm still getting only "referrer" text in my form received instead of link



    This is a re-post of a comment on Capture the Page URL Where the Form is Embedded

  • Profile Image
    JotForm Support

    Answered by Goldo on April 10, 2012 at 05:55 AM

    You can have the Hidden Box by going to: Power Tools > Hidden Box .

    Embed Code:

    <script type="text/javascript">
    document.write("<script src=\"http://form.jotform.com/jsform/12340640557?referrer=" + window.location.href + "\"></" + "script>");
    </script>


    Iframe Code:

    <script type="text/javascript">
    document.write("<iframe allowtransparency=\"true\" src=\"http://form.jotform.com/form/12340640557?referrer=" + window.location.href + "\" frameborder=\"0\" style=\"width:100%; height:529px; border:none;\" scrolling=\"no\">
    </" + "iframe>");
    </script>

    Simply replace the red line code with your Form URL and the yellow line code with the name of your Hidden Box. For an Iframe code, you can modify the height of the form to suit your websites design.

    If this doesn't help, please provide us the Form ID you are working with? We'll have it checked.

  • Profile Image

    Answered by marjoleink on May 28, 2012 at 04:14 AM

    What is implied only is that if you name your hidden field something else than 'referrer' (for instance 'website', as suggested) this name should also be reflected in the part added to the URL

     

    So, if you field is named 'website', you add '?website=' instead of '?referrer='.

     

    This should probably be explained more clearly in the tutorial.

  • Profile Image
    JotForm Support

    Answered by idarktech on May 28, 2012 at 06:03 AM

    @marjoleink,

    Thanks for your additional info. We appreciate it.

    I have now updated the guide, please let me know if you have further concerns.

    Thank you so much for your cooperation. Have a pleasant day!