- etobicAsked 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
- JotForm SupportGoldoAnswered on April 10, 2012 at 05:55 AM
You can have the Hidden Box by going to: Power Tools > Hidden Box .
document.write("<script src=\"http://form.jotform.com/jsform/12340640557?referrer=" + window.location.href + "\"></" + "script>");
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>");
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.
- marjoleinkAnswered 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.
- JotForm SupportidarktechAnswered on May 28, 2012 at 06:03 AM
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!