-
SalemMontessoriAsked on June 18, 2018 at 2:05 PM
Hi, I have followed your example for passing data from one form to another: https://www.jotform.com/help/351-How-to-Automatically-Pass-Form-Data-to-Another-Form.
I'm starting with the child's first and last name on this form:https://form.jotform.com/81284641384157 and want it to populate this form: https://form.jotform.com/81414913172149.
I copied your code and pasted in values, I've tried many variations to see what I'm doing wrong. Here's my latest: https://form.jotform.com/81414913172149?childsName1[first_15]={childsName:first_150}&childsName1[last_15]={childsName:last_150}
It's not working for me yet, so I know I'm missing something. Ca you help?
There are other fields I'd like to populate from one form to the next, but I need to get the formula correct on this one first. Thanks!
-
Vanessa_TReplied on June 18, 2018 at 2:49 PM
You are actually very close. You already got the blue and magenta highlight correct so I will now focus on the yellow and green one.
Yellow highlight
Please follow this guide: https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters
So for the first name, you can see that name is q150_childsName[first]. As per the guide, you only need the value right after the underscore, so that would be childsName[first].
Green highlight
1. Look for the Field Names by following this guide: https://www.jotform.com/help/146-How-to-Find-Field-IDs-and-Names
2. Enclose the field name in curly brace just like you did, then add :first for first name and :last for last name. Don't forget the colon.
So, for first name, you should have {childsName:first}.
Yours:
https://form.jotform.com/81414913172149?childsName1[first_15]={childsName:first_150}&childsName1[last_15]={childsName:last_150}
Correct one:
https://form.jotform.com/81414913172149?childsName[first]={childsName:first}&childsName[last]={childsName:last}
-
SalemMontessoriReplied on June 18, 2018 at 3:10 PM
Ahhhh, I get it! That worked great. Thank you!