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.
How can I know what page the sender is on when sending the form to me.Asked by memlex on August 16, 2011 at 06:00 PM
I have a real estate website with multiple listings including real estate checklist for agents. I have the contact form on each page.
Is there a way to know what page the sender was on when they submitted the contact form?
Thanks for asking. Please see "How to find out the address of the page from which a submission came" in our user guide.
If you need clarification on anything, be sure to let us know. We'll be happy to assist you.
Is there any way to use this with the embed code?
When using the source code, the form appears odd on my webpage.
I tried using the iFrame method, but that will not work because the contact form code is the same throughout the entire website; I cannot use different links for the code within each page.
I believe the solution presented in the following thread will be just right for your requirements:
You only need to use a Hidden Form and slightly modify the form URL in any embed code that you use. Please try and let us know how it goes for you.
Thank you for using JotForm!
I cannot modify the embed code for each page; each page uses the exact same code and I must keep it that way.
1. Insert a hidden box to your form, name it to something like "referrer" or "website"
2. Get your form's iframe or short embed (script) code. Choose only one.
<iframe allowtransparency="true" src="//form.jotform.com/form/12052837062" frameborder="0" style="width:100%; height:550px; border:none;" scrolling="no">
3. Divide the embed codes into three parts using the guide below:
<iframe allowtransparency="true" src="//form.jotform.com/form/12340640557
" frameborder="0" style="width:100%; height:529px; border:none;" scrolling="no"></
4. Insert a backslash in front of each double quote
<iframe allowtransparency=\"true\" src=\"http://form.jotform.com/form/12340640557
\" frameborder=\"0\" style=\"width:100%; height:529px; border:none;\" scrolling=\"no\"></
4. Append ?referrer= to the first part
<iframe allowtransparency=\"true\" src=\"http://form.jotform.com/form/12340640557?referrer=
\" frameborder=\"0\" style=\"width:100%; height:529px; border:none;\" scrolling=\"no\">
document.write("PART 1 GOES HERE" + window.location.href + "PART 2 GOES HERE" + "PART 3 GOES HERE");
So it becomes:
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>");
document.write(" <script src=\"http://form.jotform.com/jsform/12340640557?referrer= " + window.location.href + " \"></ " + " script> ");
6. Embed the edited codes onto your pages.
Hope you find this useful. Let us know if you're having problems with this solution. Thanks!
Hello! I'd appreciate some help with this:
In my site I must use iFrame to embed the form since "source code" interrupts the scripts for the picture galery lightbox.
In the step number (5) on this guide shows that I have to add the script:
To my iFrame... Will this prevent my lightbox script for the picture galery on the site to stop working again?
If this is true, how can I know which page on my site the customer is submitting the form from?
Thx for your help!
I want to use iFrame now but I also want the form not to conflict with the site's lightbox script for the images... I can see at:
as regards this question:
'If this is true, how can I know which page on my site the customer is submitting the form from?'
Could you please create a forum thread for this issue, I am not exactly sure if the solution outlined here is totally applicable in your case. Give as much detail as possible as regards what you are trying to do. I am pretty sure we should be able to come up with something for you.
Would you mind sharing the URL of the website in which the form is embedded? If it's a jQuery based lightbox that is being interrupted when you use the full source of the form, please have a look at the following video that explains how to correctly implement the jQuery.noConflict() fix:
(It will be clearer viewed directly from YouTube)
Thx for all the help! my site is bayresflat.com
basically I want to have my form installed in the cathegory pages (apartment description, so that the customer can fill it)
a) When I receive the form it must show me which page (link it was submited from)
b) I'd like to use the "lightbox" code but it intereferes with a script that shows my picture galery...
basically what I need is that. Can someone give me a hand?
Please create two seperate threads for the 2 different requests, and we will do our very best.
My first thought is I should be able to help you with both, but please give as much detail as possible in these two new threads & provide a link to where your picture gallery in the relevant post.