How to display the last name and first name separately?

  • Profile Image
    Lifelongtherapy
    Asked on February 26, 2015 at 10:17 PM

    In that auto responder I would like my subject line to have "Lastname, Firstname" instead of "Firstname Lastname"

    Do I have to create separate fields "Last" "First" or can I alter the code in Autoresponder to keep using the "Full Name" field.  I didn't see a property setting that would allow me to change that.

    Thanks,

    Steve

     

  • Profile Image
    ashwin_d
    Answered on February 26, 2015 at 11:52 PM

    Hello Steve,

    You will have to read the first & last name separately by using separate field name tag.

    Example: If the field name of your full name field is "fullname" then you can add the following tag to read the first & last name separately:

    Tag to read first name:  {fullName:first}

    Tag to read last name: {fullName:last}

     

    In your case, you should use the following tag in your autoresponser email alert:

    {patientName:last}, {patientName:first}

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

     

  • Profile Image
    Lifelongtherapy
    Answered on February 27, 2015 at 09:02 PM

    Is there also a way to make the Google Intergration filename appear Last, First?

    Thanks,

    Steve

     

  • Profile Image
    Jan
    Answered on February 28, 2015 at 04:03 AM

    I have moved your inquiry to another thread because it is considered as a different issue about Google spreadsheet.

    This is the URL of the new thread: http://www.jotform.com/answers/524362

    Thank you for understanding.