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 I dynamically populate the form from my application?

    Asked by mgoyal on October 18, 2010 at 02:23 PM

    I'd like to be able to populate some information to be sent out dynamically from the application.  It will be unique to every user who encounters the form.  is this possible?  I want this form to serve as a notice that the user has completed signing up.

    Thanks!

     

    moki

  • Profile Image
    JotForm Founder

    Answered by aytekin on October 18, 2010 at 02:29 PM

    Yes, it is possible to pre-populate a form with data passed from your own site. Simply add "?fieldname=value&" to the URL of a form.  Here is an example:

    http://www.jotform.com/form/1943702801?name=test1&email=test2


    To find out what is the field name for a particular question, you must look up the source code of the form using browser's "Source" option.

  • Profile Image

    Answered by mgoyal on October 18, 2010 at 02:30 PM

    Thanks for the lighting response!  One more followup.

     

    Is this possible even if I embed the form on one of my pages?

     

    moki

  • Profile Image

    Answered by on October 19, 2010 at 09:25 AM

    I'm not sure if it will work with the regular javascript code. If it does not work, the iframe code will definitely work.

    Here is how you can get it. Open your form on the Form Builder:
    1. Open "Setup & Share" tab on toolbar,
    2. Click on "Share Form"
    3. Click on "Advanced Options"
    4. Click on "iFrame Code".

  • Profile Image

    Answered by mgoyal on October 20, 2010 at 01:24 PM

    Hi there Aytekin,

    Thanks for fixing my account!

    I tried what you were saying, but the get parameters are not being passed into the fields.  I created a form with hidden fields, and used this for the source of the iframe:

     

    http://www.jotform.com/form/2901602597?q4_name=Moki

     

    But the form passed a blank field when it emailed it out.  Am I doing something wrong?

    Thanks very much!

     

    moki

     

  • Profile Image
    JotForm Founder

    Answered by aytekin on October 20, 2010 at 01:43 PM

    Did you use the iframe code? Can you post the URL of the page that has this iframe code with the parameter?

  • Profile Image

    Answered by mgoyal on October 20, 2010 at 02:05 PM

    I did use the iFrame code, I was running it locally, but when I run it on a server here (http://creative.edulence.com/temp/jot.html), it causes an error when i submit.  It says 

     

    Sorry! Only one entry is allowed.
    Multiple submissions are disabled for this form.
  • Profile Image

    Answered by mgoyal on October 20, 2010 at 02:11 PM

    Okay I turned off unique submissions.  

     

    But I submitted the form and it's still not passing the full name which I'm populating as Moki.  Any ideas.  Sorry to be a pain.

  • Profile Image
    JotForm Founder

    Answered by aytekin on October 21, 2010 at 03:20 AM

    Is it only missing on the email or is it also missing it on the Submissions page.

    If you have the first problem, then you should delete and re-create the email alert.

    If you have the second problem, you should update the form code on your site. But that shouldn't happen on iframe forms.

  • Profile Image

    Answered by ThomasMcCann on February 02, 2011 at 07:23 PM

    on the above ie. test1 and test2, in the source code I can find 'name' and 'emai'l but I have not a clue where test1 and test2 come from.  Are they from a different web page/form?

     

    Tommy

  • Profile Image
    JotForm Founder

    Answered by aytekin on February 03, 2011 at 04:36 AM

    You can set them manually or you can set them using code. Depends on why do you need to pre-populate a form. If you can describe what you would like to do I can suggest a solution.

  • Profile Image

    Answered by ThomasMcCann on February 06, 2011 at 08:06 PM

    Once my members sign in to my website with their email addresses (using their secret password which as the owner of the website I do not have access to or interested in), a link will take them to my form.

    I would like to prepopulate a hidden field to hold their email address.

    I would like them to fill in one question asking them for their email address (this could be a password question ie **************).

    Until they input the correct email address they will be stopped from getting to the rest of the form using conditional formatting.

    The  prepopulated email address field and inputted email address field will go somwhere to at least stopping one member of my site filling in a form using another members identity as well as other abuses as all the the email addresses are freely available to all members as it is basically a social networking website .

    Is this possible to do this and if it is how can get the email address to populate the hidden field?

    Thanks Tommy

     

  • Profile Image
    JotForm Founder

    Answered by aytekin on February 07, 2011 at 09:56 AM

    No, this is not possible. You can check if the email address equals to the value you entered in the condition, but you cannot check if it is equalt to the value in a hidden field (or any other field).