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

    What is the field name for first name?

    Asked by mmatthews on March 24, 2011 at 02:49 PM

    In the create autoresponder email tool, I see the full name field listed to be inserted into the email copy, but not the first name field. What is this field name?

    name autoresponder email email just the first name first name only
  • Profile Image
    JotForm Support

    Answered by abajan on May 26, 2011 at 11:26 PM

    This is an old thread and this reply is certainly not any attempt to "upstage" my worthy colleague Neil but for the sake of clarification, the first name can indeed be pulled from a Full Name field by modifying the generated tag.

    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


    I knew about these uses of the Full Name field because it was my query in this thread that caused the developers to implement the feature. I'm not sure if there's a user guide article on this specific topic but there is a related article.


    ~ Wayne

  • Profile Image

    Answered by canafishdrown on December 23, 2012 at 07:04 PM

    Are these codes still valid now in 2012???

  • Profile Image

    Answered by jeanettebmz on December 23, 2012 at 10:44 PM

    @canafishdrown

    Yes, what  Wayne has proposed above can be still applied on the email body message

    If you still have questions , please open a thread and anybody in support staff will be more than glad to assist you



  • Profile Image

    Answered by obp on February 21, 2013 at 01:34 PM

    Just what I was looking for - Thanks! :)

  • Profile Image

    Answered by cheekyface on March 11, 2013 at 03:26 AM

    re; "{fullName2:first} renders John"

    ...Must the initial name of the field remain unchanged for this to work?

    Eg. I changed the name from "Full Name" to "Your Name".  
    The field tag for my form is now showing as {yourName58}

    So to get the first name only, would I therefore change it to read: {yourName58:first} ?

    If so then it's not working.  I just tried that and so thought I'd ask the question before I go on.

     

    Danny.

     


  • Profile Image
    JotForm Support

    Answered by abajan on March 11, 2013 at 04:12 AM

    Hi Danny,

    I just did a test submission and neither tag (for the Full Name nor Your Name fields) in the auto-response worked. You may have to delete the autoresponder and replace it with a new one but before doing so, let me clone it, run additional tests and get back to you.

    Thanks.


    Wayne

  • Profile Image
    JotForm Support

    Answered by abajan on March 11, 2013 at 04:33 AM

    It was actually just the {yourName58:first} tag that was not working. Anyway, I was able to solve the problem. After cloning the form, I removed the tag, clicked the "Your Name" field in the Form Fields menu (shown below) to insert a new one in its place and appended its content with :first, so that it became {yourName58:first} (just like the old one). That did the trick. Please do the same with your autoresponder and let us know if it worked.

    Thanks.

  • Profile Image
    JotForm Support

    Answered by abajan on March 11, 2013 at 04:39 AM

    Sorry, I forgot to include the screenshot of the Form Fields menu:

  • Profile Image

    Answered by cheekyface on March 11, 2013 at 04:51 AM

    Thanks for taking the time to work this out!

    It worked.  I just realized that when I altered the the Your name tag I copied and pasted the additional ":first" bit.  

    I have often come into problems when pasting code in instead of typing it.

     

    Cheers,

    Danny.

  • Profile Image
    JotForm Support

    Answered by abajan on March 11, 2013 at 04:58 AM

    Glad we could help. And thanks for the info about differing results when pasting :first as opposed to typing it. I'm not sure if I knew that.

  • Profile Image

    Answered by cheekyface on March 11, 2013 at 05:34 AM

    I'm not sure if that happens every time but I know it's happened quite a few times at least and not just with jotform.

    It's almost as though it doesn't register unless it's typed in.  I've had similar things happen with Zoho templates as well and adding the tags by pasting them.  Sometimes they work and at other times they don't.

    Might be a similar thing to using notepad or a plain text editor to clear any formatting. If I'd pasted the ":first" into notepad then copied again from there and used that, I think it would have worked first go.

  • Profile Image
    JotForm Support

    Answered by abajan on March 11, 2013 at 06:13 AM

    Yes, that sounds about right. It's always advisable to use a plain text editor for these types of procedures because word processors tend to insert extra (non-visible) characters. Something like Notepad++ would also be fine.

    Cheers

  • Profile Image

    Answered by lxrogers on September 22, 2014 at 10:33 PM

    Can you use these tags to access a specific cell in a matrix
    ?
  • Profile Image
    JotForm Support

    Answered by ashwin_d on September 22, 2014 at 11:13 PM

    Hello lxrogers,

    I have moved your question to a new thread and you will be answered here:  http://www.jotform.com/answers/432922 

    Thank you!