Passing first and last name from full name to another form

  • aspirebrokers
    Asked on April 3, 2016 at 3:44 AM

    Hi Guys,

    I have Form A with a 'Full Name' field made up of first and last name.  I want to send this to another form with the fame fill name field but can't get ti to work.

    I tried this:

    ?fullName[first]={fullName}&fullName[last]={fullName}

    But this puts the entire name in in each field

    I tried this but it doesn't work at all:

    ?fullName[first]={fullName[first]}&fullName[last]={fullName[last]}

    I am guessing that I some how use the IDs:

    #first_392, #last_392

    But nothing I have tried works.  Can you help :)

     

    Thanks

  • Boris
    Replied on April 3, 2016 at 5:51 AM

    You were very close. :)

    Inside the variables, such as the {fullName} variable, you need to append the attributes/options with a colon: {fullName:first} and {fullName:last}.

    This means that your prepopulation parameters should be used like this:

    ?fullName[first]={fullName:first}&fullName[last]={fullName:last}

    We have the same thing available for address fields, and for payment fields:

    https://www.jotform.com/help/92-How-to-Strip-Headers-from-Postal-Addresses-in-Email-Alerts

    https://www.jotform.com/help/231-How-to-Strip-Payment-Labels-and-Separate-Payment-Info-on-Email-Alerts

    If you need any further clarifications or assistance, please let us know. We are here to help.

  • aspirebrokers
    Replied on April 3, 2016 at 5:06 PM

    Ahhhhhhhhhhhhh Thanks!

  • Kiran Support Team Lead
    Replied on April 3, 2016 at 5:41 PM

    You are welcome. You may be also interested in taking a look at the following that can help you in passing form data from one form to anther.

    http://www.jotform.com/help/351-How-to-Automatically-Pass-Form-Data-to-Another-Form

    Please do not hesitate to get in touch with us if you need any further assistance. We will be happy to help. 
     
    Thank you for using JotForm!!
  • veshman
    Replied on January 27, 2017 at 2:00 PM

    I'm having trouble passing a date from one form to another. I believe I have it coded correctly, but the variable that is passed over is not correct.

    This is what the code looks like:

     

    &dateOfBirth[month]={dateOf85:month_85}&dateOfBirth[day]={dateOf85:day_85}&dateOfBirth[year]={dateOf85:year_85}

     

     

  • Kiran Support Team Lead
    Replied on January 27, 2017 at 2:14 PM

    @veshman,

    Your question is moved to a separate thread and shall be addressed there shortly. Please follow the link below:

    https://www.jotform.com/answers/1048818

    Thank you!