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

  • Profile Image
    Craig Woolfenden
    Asked on November 09, 2021 at 09:17 PM

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



    This is a re-post of a comment on How to Automatically Pass Form Data to Another Form

  • Profile Image
    gerardw
    Answered on November 10, 2021 at 04:45 AM

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

  • Profile Image
    cwoolfenden
    Answered on November 11, 2021 at 06: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

  • Profile Image
    ashwin_d
    Answered on November 11, 2021 at 06: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.

  • Profile Image
    cwoolfenden
    Answered on November 11, 2021 at 07: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_

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

    1636632343_618d071723fbd_

    Help is much appreciated.

  • Profile Image
    Patrick_R
    Answered on November 11, 2021 at 07: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!

  • Profile Image
    cwoolfenden
    Answered on November 11, 2021 at 07:36 AM

    That's worked perfect. Thank you