What are the parameter names for each item in an address block?

  • Profile Image
    marcbommarito
    Asked on August 15, 2016 at 04:47 PM

    I have 2 forms and want to send the data from one form to the other.  I just cant get the address values for address 2, city and zip to populate from form 1.  I am sure that I am using the wrong name but I have tried several values. 

  • Profile Image
    jonathan
    Answered on August 15, 2016 at 06:24 PM

    You can use the browser inspector to determine also the name of the fields.

    Example:

     

    so using the form you can have it like this 

    https://form.jotform.com/62245489717163?address4[addr_line1]=test1&address4[addr_line2]=test2&address4[city]=Boston&address4[postal]=898989

     

    Hope this help. Let us know if this did not work for you.

    Thanks.

  • Profile Image
    marcbommarito
    Answered on August 15, 2016 at 06:27 PM

    I do not know what I was doing wrong before but it is working fine now

    address4[addr_line1]={address4:addr_line1}&{address4[addr_line2]={address4:addr_line2}&address4[city]={address4:city}

  • Profile Image
    jonathan
    Answered on August 15, 2016 at 09:34 PM

    Thank you for letting us know its working now. :-)

    Feel free to contact us anytime should you require assistance on JotForm.

    Cheers