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 to pass first & last name separately from one form to another form?

    Asked by blittlefield on May 22, 2017 at 09:45 PM

    I have a simple start form to create a session ID. I have a second form and I want to pass the "first" name and the "last" name from the first form to the second form as prepopulated fields. I've read several of the earlier posts on this but I can't figure out the syntax that works. 

    This is the URL for my first form:


    It has an autoresponder email with the following URL:


    This is my attempt to get the first name field pre-filled to prove I could do it. It doesn't work. 

    I inspect my elements and get the following from the first form for the first name field:

    <input type="text" id="first_3" name="q3_name[first]" class="form-textbox" size="10" value="" data-component="first">

    I get the following from the second form for the elements:

    <input type="text" id="first_4" name="q4_name[first]" class="form-textbox validate[required] form-validation-error" size="10" value="" data-component="first" required="" placeholder="">

    What I gather is that I should be defining what I want in the second form for "first_4" by telling it to make it equal to what is in the first form for data which is "first_3". But I don't seem to be able to figure out the correct syntax to pass the value through despite having read multiple posts from the forum on how to do it. None seem to give me the specific details that I need. 

    This is the URL that I'm using to transfer the user to my second form in my autoresponder message:



    And last, this is the URL of my second form:


    What is the correct syntax for adding the first or last name as repopulated fields in the second form? 

    Thank you in advance! Bill L.


    Page URL:

  • Profile Image
    JotForm Support

    Answered by ashwin_d on May 23, 2017 at 12:17 AM

    Hello blittlefield,

    So if I understand your question correctly, you want to read the first & last name of first form and populate the fields of second form. Is that correct?

    The correct pre-population URL for second form should be: 


    The above URL needs to be added in email template, thank you message or custom thank you URL of your first form.

    Hope this helps.

    Do try it out and get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by blittlefield on May 23, 2017 at 01:43 AM
    That seemed like it would be very helpful but it is still not working. Confused.
    This is my URL. It is the same only it has the "session=[email]" added which is working. But the names are not passing.
    It is in the autoresponder as a link. The link works. The first and last name fields are still not being passed through.
    I cleared all my cookies and testing it again. Still not working.
    Did I still do something wrong?
    Bill Littlefield
  • Profile Image
    JotForm Support

    Answered by candy on May 23, 2017 at 03:29 AM

    Dear Bill,

    I have seen that the link doesn't work as expected seen below:

    I have cloned your forms on my side in order to test them. I have seen that your link is not correct in order to prepopulate the fields.

    The link will work with the form field's names, not with their IDs. Please change the link as the following:



    For further detailed information, please find the following guide: https://www.jotform.com/help/351-How-to-Automatically-Pass-Form-Data-to-Another-Form 


    If you need further assistance, let us know.


    Thank you.

  • Profile Image

    Answered by blittlefield on May 23, 2017 at 11:43 AM
    I have made the changes you requested.
    I have cleared my cookies and all jotform web data.
    I initiated the form to test.
    Still the data fields are not passing to the second form.
    It is not that big of a deal for these two simple data fields so I am going to stop trying.
    I do not want to waste any more time on a task that should be simple to implement.
    Thank you for trying. I think your system is broken.
    Bill Littlefield
  • Profile Image

    Answered by blittlefield on May 23, 2017 at 12:43 PM
    I have fixed it.
    It was working in the autoresponder but not in the Thank You page. Once I fixed the link in the Thank You page, it worked both places now.
    Thanks you!
    Bill Littlefield
  • Profile Image
    JotForm Support

    Answered by ashwin_d on May 23, 2017 at 01:34 PM

    Hello Bill,

    I am gald to know that you were able to solve it yourself and your form works as expected.

    Do get back to us if you have any questions.

    Thank you!