Transfer fields from one form to another

  • EffieMcNair
    Asked on February 8, 2016 at 5:09 AM

    Hi There!

    I need help to transfer a couple of fields from one form to another..please do not send me links from the user guide..as I was reading them all and trying to work it out all day but no luck :-(

     

    Here is the 1st form embedded in my website:  http://transaustremovals.com.au/quote-request/

    Here is the 2nd form embedded in my website: http://transaustremovals.com.au/quote-request-removalists/

    I need the fields 'Full Name' & 'email' from the 1st form to be transferred to Form 2 when the customer hit the 'NEXT' button.

    I've created 2 x hidden fields in Form two for the Full name & email to be transferred into.

    If you can show me how to do it by cloning my form it would be great. I am not able to work it out from the user guide as its not the same situation...(my URL has other items in it...not only the Jotform and I'm not sure how to write it in the 'Thank you' page)

    Many thanks!

    Effie

  • Charlie
    Replied on February 8, 2016 at 8:19 AM

    I'm not quite sure if I understand you correctly. Would you like to transfer the inputs of "Full Name" and "Email" from Form 1 to Form 2 after Form 1 submits. Is that correct? Or you would just like to clone a form field from form 1 to another form?

    If you just want to clone form fields to another form, you can do that by using this app: http://apps.jotform.com/app/field_manager 

    If you want to pass the form fields value of the full name field and the email field to your website. You can use this as the target thank you URL:

    http://transaustremovals.com.au/quote-request-removalists/?fullName[first]={fullName193:first}&fullName[last]={fullName193:last}&email={email} 

     

    Assuming you have not changed or deleted the fields in your existing forms. This is mentioned on this guide: http://www.jotform.com/help/351-How-to-automatically-pass-form-data-to-another-form. The only difference is that we are using your website's URL instead of the form's direct link.

    To edit your "Thank You" settings, just open the "Thank You" wizard, and choose the "Change Page Link".

    Let us know if that helps.

  • EffieMcNair
    Replied on February 8, 2016 at 10:35 AM

    Thank you Charlie for taking time and check my forms...I have applied the URL you suggested but only the email field has moved...

    must be a syntax error, but unfortunately I am not familiar with these kind of scripts.

    The user guide suggesting this:

    https://form.jotform.com/53533976064967??fullName[first]=John&fullName[last]=Doe

    however "John" has not filled my form yet..... not very helpful with explaining how to describe the field that contain 'John.

    You suggested the following syntax fullName[first_413]={fullName193:first}&fullName[last_413]={fullName193:last} which has not worked.

     

    (I also will need to move these fields: Moving_Date[day]  Moving_Date[month] Moving_Date[year] but I guess it would be similar to the Full name Fields)

     

    Any suggestion?

    Thanks, Effie

  • Charlie
    Replied on February 8, 2016 at 11:14 AM

    Please do check my suggested link. You have "_" or underscores on your parameters which will not work.

    http://transaustremovals.com.au/quote-request-removalists/?fullName413[first]={fullName193:first}&fullName413[last]={fullName193:last}&email={email}&input415[day]={Moving_Date:day}&input415[month]={Moving_Date:month}&input415[year]={Moving_Date:year}

    Pink highlight: your website URL

    Green highlight: This is the form field name in your website where you want to prepopulate.

    To get the field name of your target form field, just right click on it, choose "Inspect" and copy the text in the name attribute. We only get the field name just after the "_"

    Example is the below screenshot:

    The name attribute for the first name field is q413_fullName413[first]

    We only get fullName413[first].

    Transfer fields from one form to another Image 1 Screenshot 20

     

    Blue highlight: This is the filed value fro form 1, it has the field name with a little modification. 

    Example 1:

    From => fullName193[first]

    To => {fullName193:first} If we want to get its first name value

    Example 2:

    From => Moving_Date[day]

    To => {Moving_Date:day} If we want to get the date value on the date

     

    We'll wrapped them in {} and separate it by ":"

    Presuming that there's no changes on the labels and field name in your target form, then this URL should work:

    http://transaustremovals.com.au/quote-request-removalists/?fullName413[first]={fullName193:first}&fullName413[last]={fullName193:last}&email={email}&input415[day]={Moving_Date:day}&input415[month]={Moving_Date:month}&input415[year]={Moving_Date:year} 

     

    Let us know if that works.

  • EffieMcNair
    Replied on February 14, 2016 at 2:42 AM

    Thanks Charlie - you are a legend! all is working now :-)

  • Jan
    Replied on February 14, 2016 at 11:24 AM

    Glad to hear that the solution provided by Charlie worked for you. On behalf of Charlie, you are welcome. Let us know if you need further assistance. Thank you.