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

    can I pull the first name from the fullname field for a confirmation letter

    Asked by adea on November 11, 2015 at 01:44 PM

    I am using the fullname field in my form.  However, I would like to pull only the first name of that field into my confirmation letter.  Would I use {#first_4} to accomplish this or do I have to break up the fields to be able to include the first name?



    Page URL:

  • Profile Image
    JotForm Support

    Answered by david on November 11, 2015 at 02:52 PM


    My colleague Abajan(Wayne) presented the following guide for different parts of the Full Name:

    The following examples assume that the generated tag is {fullName2} but the actual tag generated depends on the order in which the field was inserted into the form and if the default label was changed by the form's creator. Also, these examples use the Full Name field with all of the options (Prefix, Suffix and Middle Name) enabled.

    So let's say a user enters his name in such a field as Dr John Michael Doe Ph.D:

    {fullName2} renders Dr. John Michael Doe Ph.d (the period after the prefix is automatically inserted)

    {fullName2:first} renders John

    {fullName2:middle} renders Michael

    {fullName2:last} renders Doe

    {fullName2:prefix}. {fullName2:last} renders Dr. Doe (in this case, the period and space must be manually added)

    {fullName2:prefix}. {fullName2:last} {fullName2:suffix} renders Dr. Doe Ph.D

    In the case of your form, for the first name, it would be:

    {yourName:first} for the first name.