Passing first and last name from full name to another form

  • Profile Image
    aspirebrokers
    Asked on April 03, 2016 at 03: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

  • Profile Image
    Boris
    Answered on April 03, 2016 at 05: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.

  • Profile Image
    aspirebrokers
    Answered on April 03, 2016 at 05:06 PM

    Ahhhhhhhhhhhhh Thanks!

  • Profile Image
    Kiran
    Answered on April 03, 2016 at 05: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!!
  • Profile Image
    veshman
    Answered on January 27, 2017 at 02: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}

     

     

  • Profile Image
    Kiran
    Answered on January 27, 2017 at 02: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!