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

    How Can I Differentiate When I Use the Same Form on Different Sites?

    Asked by nllemire on April 02, 2011 at 02:48 PM

    I want to use the same form on different sites but also be able to tell which site the form came from when a submission is madeI'm using the iFrame code as it is compatible with all browsers and the css of my sites.  The same form will be used on over 30 pages.  Is there some way besides creating a duplicate form that is renamed for each site or page to do this?

     


    Page URL:
    http://donationsforkids.net/donate-car-boat-rv.html

    differentiate form submission different sites iframe code style size multiple domain multiple sites
  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 03, 2011 at 01:43 AM

    Hi,

    This can be made possible by using a hidden input box and prepopulating it using URL parameters.

    The first thing you need to do is insert a Hidden Box into your form. You can find it under the Power Tools section of the Form Builder.

     

    Name that box with something that's easy to remember. Let's say, "website".

     

    Get your iframe embed code.


    Append this piece of code: "?website=professionalsite" at the end of the URL so it becomes


     Replace professionalsite with any identifier, i.e. your website's name.

    Embed your form.

     

    As an example, filling out this form with the url parameters ?website= professionalsite sends me this notification email:

     

     

    I hope you find this information useful. Let me know if you have other questions.

     

    Regards,

    Neil

  • Profile Image

    Answered by nllemire on April 03, 2011 at 02:42 PM

    Thank you very much, Neil.  That works like a charm! 

  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 04, 2011 at 08:50 AM

    You're very much welcome. Feel free to post again if you have other questions.

    Neil

  • Profile Image

    Answered by nllemire on April 04, 2011 at 12:45 PM

    Hi Neil,

     

    I do have another question regarding this same subject which is...

    When the form is submitted, the information from the hidden field shows up at the very bottom of the results.  Is there some way to get the information at the top or, even better in the subject line?

    Leigh Ann

     

  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 04, 2011 at 07:16 PM

    Hi,

    Yes. You can move the information at the top or even the subject line by configuring your notification email.

     

    After you click on Notification 1, for example, the Compose Email window will appear. Watch this short screencast for instructions on how to insert identifiers.

    http://www.screencast.com/t/QN3zC9AjEf

    Basically, field identifiers can be place anywhere in the notification email.

     

    Neil

  • Profile Image

    Answered by nllemire on April 05, 2011 at 03:28 PM

    Thank you very much, Neil - not only is it simple to do but it also works like a charm! Yay!

  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 06, 2011 at 12:00 AM

    Glad to be of help. Thank you for using Jotform.


    Neil

  • Profile Image

    Answered by nllemire on April 06, 2011 at 02:16 AM

    Oooops - perhaps I spoke too soon.  Entering the info in the email subject line is only good for one time.  I want to use the same form on multiple sites and pages - so this is not a solution.  Is there some way to either change the subject line for each different page or to move the hidden field so that it shows at the top of the form?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 06, 2011 at 02:28 AM

    Hi,

    Yes that is also possible by inserting another hidden box in your form dedicated for the subject line. Insert the identifier for that field in your subject line (in the Compose Email wizard). Again, append the url parameter for that field into your iframe embed code.

    Let's say the identifier for the field is "subj", append this url parameter at the end of the src url

    "?website=google&subj=Submissions from one of our site"

    so it becomes

    <iframe allowtransparency="true" src="http://form.jotform.com/form/10921953299?website=google&subj=Submissions from one of our site"

     

    Do remember that parameters are separated by an ampersand &.

     

    Neil

  • Profile Image

    Answered by nllemire on April 06, 2011 at 05:08 PM

    Neil!  Words really don't express my gratitude - I did as you said and, by golly - I have completely original and beautiful submissions arriving - perfectly!  It's great.  Thank you very much for your help.

    Leigh Ann

  • Profile Image

    Answered by sajego on April 06, 2011 at 10:32 PM

    Can the auto populate be applied to the lightbox or feedback scripts?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 08, 2011 at 08:01 AM

    @sajego,

    No. Url population using query strings can only be applied to HTML forms. Lightbox forms are a special case - although the form itself is html, the method of loading the form is different in a sense that it is called by a Javascript function and not by a url request.

    I hope you understand what I'm trying to say.


    Regards,
    Neil

  • Profile Image

    Answered by mannagod on May 14, 2011 at 03:20 PM
    Hi there.



    I need to reference the form from multiple places on the same page. Is there a way to do this?



    Ted



  • Profile Image
    JotForm Support

    Answered by NeilVicente on May 15, 2011 at 05:17 AM

    Hey Ted,

    Hi I have already answered your question in the other thread that you have created. Let me know how my solution worked for you. Thank you for using Jotform.


    Neil

  • Profile Image

    Answered by madmax1930 on May 20, 2011 at 03:22 PM

    What if the form is used on a Facebook fan page?  Shall I follow this thread´s instructions or is there another procedure for FB?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on May 20, 2011 at 03:30 PM

    @madmax1930

    Do you still use FBML or the new methods (custom iframe app, tabpress app) for embedding to FB pages? FBML is now deprecated and receives little to no support from Facebook. You should defnitely use iframe apps to embed your forms.

    If you're going to use tabpress, just follow the steps in this page as is. This solution should work just fine.

    If you're going the custom iframe app route, you only need to insert the URL with the appended parameters in the app's url fields, for example:

    http://www.jotform.com/form/10921953299?referrer=facebook

    If you need more assistance, please let me know.


    Neil

  • Profile Image

    Answered by rabelardo on May 25, 2011 at 10:31 AM

    awesome solution.  thanks !

  • Profile Image

    Answered by MuhammadOrient on June 22, 2011 at 05:49 AM

    can you help me to get on the

    $_SERVER and ['HTTP_REFERER']


    i want to the code argent how i can add it


    I want to see from any page come the visitor

  • Profile Image

    Answered by MuhammadEid on June 22, 2011 at 09:37 AM

    i maked you step by step but it not work and tell me sir how i can edit php code on hide field and access it on my mail thanks

     

  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 23, 2011 at 12:29 AM

    Hi,

    I have answered your questions in your original post. Please let me know if the solutions I suggested worked for you.


    Neil

  • Profile Image

    Answered by MamaRed on December 14, 2011 at 01:36 PM

    I'm not quite sure I understand how to use the same form (URL) for multiple sites without having duplicated forms (although will say I love the CLONE feature...great job).

    Say, for example, I want to invite people to speak for my teleseminar series and I create a form called Presenter Management Form.

     

    I have a website with the URL: http://mamaredspeaks.com

    and another with the URL: http://theselfishformula.com

     

    Do I put the full URL of my site? where you have ?Google or do I put the name of the project or?

     

    I guess what I'm missing is how the code knows which site.

     

    If this explained or illustrated somewhere else, I would appreciate a link. Ya'll are da greatest! Shared JotForms with an uber developer friend of mine and he fell in love. It isn't often I hear him swear OR say he loves something that much...he immediately bought a 2 year subscription!

  • Profile Image
    JotForm Support

    Answered by Mike_T on December 14, 2011 at 08:19 PM

    Thank you very much for using our services.

    You may use either the name of your project or your site to pre-populate the hidden box.  Basically you can follow the next steps:

    1. Add a hiden box to your form, "website" in example

    2. Get the iFrame code:

    3. Adjust the iFrame code, for example:

    iframe allowtransparency="true" src="//form.jotform.com/form/10000000000"

    is changed to

    iframe allowtransparency="true" src="//form.jotform.com/form/10000000000?website=your_site_name"

    4. Embed your form using adjusted iFrame code

    5. Make sure that hidden box field is listed within your email notification(s), so you will receive the information about website in your notification emails.

    If something is not clear, please let us know. We will be happy to help you!

  • Profile Image

    Answered by reciproc8 on October 21, 2013 at 10:41 PM

    I did this and it didn't work.  I probably did something wrong...

    What I want to have happen is the URL of the page the form is embedded on to be captured by the form so I can identify the source.  Am I missing something or is this not what is being asked in this thread?  How do we do this?  I have tried the above method and it does nothing.

    If the form is hosted on www.domain.com/page1/?id=fb_ad

    Then I need the URL to show up in submissions / email notification.  How do I do this please? 

  • Profile Image

    Answered by jeanettebmz on October 21, 2013 at 10:47 PM

    @reciproc8

    Please open a new thread and explain what you are trying to accomplish to and we will be more than glad to assist you

  • Profile Image

    Answered by reciproc8 on October 21, 2013 at 11:01 PM

    Got it figured out.  And I know you guys would be more than glad to assist me because you guys KICK ASS!!

  • Profile Image

    Answered by AirMaster on October 28, 2014 at 12:08 PM

    Hello, power tools is not an option on my form.

    Is this the same as adding field and then setting it to Hide?