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

  • Profile Image
    Asked 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:


    Look forward to hearing from you

    Please reply to

  • Profile Image
    Answered 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   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

    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.







  • Profile Image
    Answered on August 26, 2014 at 02:38 PM

    Cheers Jonathon

    Perfect. I really appreciate your little test form.





  • Profile Image
    Answered on August 26, 2014 at 05:27 PM

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


  • Profile Image
    Answered 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 on July 18, 2016 at 04:06 PM


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

    Thank you!