Pull Last Name Out of Full Name field

  • Lachen_David
    Asked on May 5, 2025 at 7:39 AM

    I have been trying to pull the last name out of the Full Name field into a field calculation field but cannot get it to work. Can someone help me with this.


    https://form.jotform.com/251216455144148

  • Jovito JotForm Support
    Replied on May 5, 2025 at 8:14 AM

    Hi David,

    Thanks for reaching out to Jotform Support. You can easily get the last name on the Full Name element by using the Substring widget. Let me show you how:

    1. In Form Builder, click on Full Name element then go to its Properties.
    2. Go to Advanced tab, scroll down to Field Details and copy the field ID for the last name.
    3. Then, click on Add Element then go to Widgets tab and add a Substring widget to your form, paste the field ID we copied and set the Substring start and end to 0 and 100, respectively.

    Pull Last Name Out of Full Name field Image 1 Screenshot 30 You can test my cloned form as a reference. Here's what it'll look like:

    Pull Last Name Out of Full Name field Image 2 Screenshot 41Give it a try and let us know how it goes.