What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to separate First and Last Name in Full Name field in the email

    Asked by Klokhuis on August 26, 2014 at 03:30 AM

    Hi Jotform

    Quick question. I have set up a form where the name is filled in surname first, which was requested by the client for the actual form. See screenshot (i just changed the text below the boxes).

    ID: #first_119, #last_119

    Name: {name119}

    So of course because i just changed the text below the boxes, #first_119 refers to the surname and #last_119 to the first name.

    But of course when i add the name {name119} to the auto responder the name appears surname first.

    Is there some clever piece of code I can to the auto responder instead of {name119}

    using the ID but switching it around ie just out of my head something like this:

    {name119#last_119}{name119#first_119}

    Look forward to hearing from you

    Please reply to paul@pauloram.nl

    Page URL:
    http://klokhuis.com/en/registration

    Screenshot
    Emails JotForm name first name
  • Profile Image
    JotForm Support

    Answered by jonathan on August 26, 2014 at 07:57 AM

    Hi Paul,

    You can do this by adding the arguments "first" and "last" in the Full Name field..

    Example, in your form http://www.jotform.com/42062772281351   the Name of Pupil Full Name field can be set like this

    {nameOf5:last}  and {nameOf5:first}

    so in the email it will give a separate data for surname and last name.

    Please try submitting my test form http://www.jotform.me/form/42373491827461

    I have set the Full Name field like this in the email

     

     

    the output in the email is like this

     

    Hope this help. Inform us if you need more assistance.

    Thanks. 

     

     

     

     

     

  • Profile Image

    Answered by Klokhuis on August 26, 2014 at 02:38 PM

    Cheers Jonathon

    Perfect. I really appreciate your little test form.

     

    Paul

     

     

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on August 26, 2014 at 05:27 PM

    Hi Paul, very glad to know Jonathan solved your question.

    Cheers1

  • Profile Image

    Answered by andrewsalumni on July 18, 2016 at 03:27 PM

    Can the same separation be done in reports. 

    We are looking to show list of those registered for an event via report but we only want to show first names.

  • Profile Image

    Answered by Irshad on July 18, 2016 at 04:06 PM

    @andrewsalumni,

    I've moved your question to a separate thread and shall be addressed there shortly.

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

    Thank you!