Cannot populate ZIP code from Form 1 into address of Form 2

  • Profile Image
    Drhewitt37
    Asked on September 08, 2014 at 12:28 PM

    Form 1: http://www.jotform.us/form/42504452892153

    Form 2: http://form.jotform.us/form/42504312953146


    Form 1 populates Form 2, but not the ZIP code from Form 1 into the ZIP code of Form 2


    This is my custom URL

    ww.jotform.us/form/42504312953146?yourName={yourName}&yourEmail={yourEmail}&yourZip={q5_yourAddress[postal]}


    What am I doing wrong?

  • Profile Image
    david
    Answered on September 08, 2014 at 01:27 PM

    Hi,

    The URL parameters refer to the field ID.  So, if you change your field ID in your second form, the URL would indeed change.  I did some testing with your two forms and the URL to update the second form is very close.  The one part you would need to change is the zip code part:

    http://www.jotform.us/form/42504312953146?yourName={yourName}&yourEmail={yourEmail}&yourAddress[postal]={yourZip}

    This is how the URL should look for your thank you page.

    If this still does not work for you, let us know and we will be happy to assist you further.

  • Profile Image
    Drhewitt37
    Answered on September 08, 2014 at 01:48 PM

    Thank you David, I was able to get it working.

     

    It looks like Form 2 variables come before Form 1 on the custom URL?

     

    Daniel

  • Profile Image
    david
    Answered on September 08, 2014 at 01:55 PM

    You are very welcome, glad to hear it!  Correct, form 2 variables come before form 1.  The only other thing I had to do was remove the question number from the field ID.  So instead of q5_yourAddress[postal], I changed it to just yourAddress[postal].  Other than that you were good to go.