Hello, please can someone help me with the correct formula for copying

  • Craig Woolfenden
    Asked on November 9, 2021 at 9:17 PM

    Hello, please can someone help me with the correct formula for copying an address over?

  • Girish JotForm Support
    Replied on November 10, 2021 at 4:45 AM

    Please let us know your both form URLs for us to check.

  • cwoolfenden
    Replied on November 11, 2021 at 6:10 AM

    Form 1: https://form.jotform.com/213112613598352

    Field name: address2855

    Inputs:         

    #input_2855_addr_line2

    #input_2855_city

    #input_2855_state

    #input_2855_postal


    Form 2: https://form.jotform.com/213112624842346

    Field name: address

    Inputs:         

    #input_2884_addr_line2

    #input_2884_city

    #input_2884_state

    #input_2884_postal


    Thanks

  • Ashwin JotForm Support
    Replied on November 11, 2021 at 6:36 AM

    Please use the following URL in your form 1 to populate the address data in fields of form 2:

    https://form.jotform.com/213112624842346?address[addr_line1]={address:addr_line1}&address[addr_line2]={address:addr_line2}&address[city]={address:city}&address[postal]={address:postal}

    Hope this helps.

    Do get back to us if you have any questions.

  • cwoolfenden
    Replied on November 11, 2021 at 7:06 AM

    Hi Ashwin

    Many thanks for this quick help. Unfortunately it doesn't seem to work..

    Here is the field info from form 1:

    1636632238 618d06aeacdd0  Screenshot 10

    Here is the field info from form 2, where I want it copying to;

    1636632343 618d071723fbd  Screenshot 21

    Help is much appreciated.

  • Patrick_R
    Replied on November 11, 2021 at 7:26 AM

    Hello,

    Please try the following format:

    https://form.jotform.com/213112624842346
    ?address[addr_line1]={address2855:addr_line1}
    &address[addr_line2]={address2855:addr_line2}
    &address[city]={address2855:city}
    &address[postal]={address2855:postal}

    In case you come across any issues, let us know.

    Thank you!

  • cwoolfenden
    Replied on November 11, 2021 at 7:36 AM

    That's worked perfect. Thank you