Address field data is not passing via URL parameters to another form

  • Profile Image
    tsdosanjh
    Asked on July 22, 2020 at 06:59 PM
    I'm not getting "%20" added automatically to data that has spaces in it.
    I've got 2 forms
    1. https://form.jotform.com/tsdosanjh/appointment-booking
    2. https://form.jotform.com/tsdosanjh/clinical-notes-form
    I've created this URL link to pass info from booking form to clinical
    record form.
    https://form.jotform.com/tsdosanjh/clinical-notes-form?name[first]={name:first}&name[last]={name:last}&dob[day]={dob:day}&dob[month]={dob:month}&dob[year]={dob:year}&email={email}&phoneNumber={phoneNumber19}&address[addr_line1]={address:addr_line1}
    From the address field (I've only done the address line 1 for now) I cannot
    get the address to be pre-populated in form 2. I entered 50 York Street
    and in the 2nd form address line 1 just says 50.
  • Profile Image
    David
    Answered on July 22, 2020 at 07:14 PM

    Hi, please try with these parameters:

    address[addr_line1]={address:addr_line1}&address[addr_line2]={address:addr_line2}&address[city]={address:city}&address[state]={address:state}&address[postal]={address:postal}

    I cloned both forms, and performed a test, which worked fine:

    1595459596addressfield.gif

    Let us know if you need more help.