> ## Documentation Index
> Fetch the complete documentation index at: https://cal.id/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Split Full Name into First and Last Name on Booking Page

> Replace the single full-name field on your Cal ID public booking page with separate first name and last name inputs for cleaner CRM and workflow data.

Split the single **Full name** field on your Cal ID booking page into separate **First name** and **Last name** inputs, so your CRM and workflows receive cleaner, structured contact data.

By default, the Cal ID booking page has a full name text input field for the scheduler to put their name in. This usually works just fine for most people. However, at times, it is preferable to take the first name and last name of the scheduler as separate inputs in the booking form.

## How to split the name field

<Steps>
  <Step title="Open the event type">
    Head to the event type where you wish to split the full name into first name and last name. Click the three dots at the right side of the event and choose **Edit**.
  </Step>

  <Step title="Go to the Advanced tab">
    Navigate to the **Advanced** tab, then scroll to the **Booking questions** section.
  </Step>

  <Step title="Edit the Your name field">
    Click the **Edit** button in front of the "Your name" field.

    <Frame>
      <img src="https://mintcdn.com/cal-id-docs/sKullsnr0kttqH1B/images/event-types/split-name-1.png?fit=max&auto=format&n=sKullsnr0kttqH1B&q=85&s=cc090ba61b96275d6d5d383bd43876a8" alt="Editing the Your name booking question" width="1600" height="831" data-path="images/event-types/split-name-1.png" />
    </Frame>
  </Step>

  <Step title="Enable the split toggle">
    In the dialog that opens, click the toggle that says **`Split "Full name" into "First name" and "Last name"`**.

    <Frame>
      <img src="https://mintcdn.com/cal-id-docs/sKullsnr0kttqH1B/images/event-types/split-name-2.png?fit=max&auto=format&n=sKullsnr0kttqH1B&q=85&s=9fcdb5c4cee2c1704e4444660689d008" alt="The toggle to split full name into first and last name" width="1600" height="836" data-path="images/event-types/split-name-2.png" />
    </Frame>
  </Step>

  <Step title="Set labels and save the field">
    Fill in the label and optional placeholder values, then click **Save**.

    <Frame>
      <img src="https://mintcdn.com/cal-id-docs/sKullsnr0kttqH1B/images/event-types/split-name-3.png?fit=max&auto=format&n=sKullsnr0kttqH1B&q=85&s=4a38e8958bb6f983e6a4c20d6ac537dd" alt="Setting labels and placeholders for the first and last name fields" width="1600" height="836" data-path="images/event-types/split-name-3.png" />
    </Frame>
  </Step>

  <Step title="Save the event type">
    Remember to click the **Save** button at the top right of the event type settings as well.
  </Step>

  <Step title="Verify on the booking page">
    Head to the public booking page of this event type. You will notice the Full name is now split into First name and Last name with the labels provided by you.

    <Frame>
      <img src="https://mintcdn.com/cal-id-docs/sKullsnr0kttqH1B/images/event-types/split-name-4.png?fit=max&auto=format&n=sKullsnr0kttqH1B&q=85&s=da16393b2363e4cc436796aef600f322" alt="The public booking page showing separate first and last name fields" width="968" height="608" data-path="images/event-types/split-name-4.png" />
    </Frame>
  </Step>
</Steps>

<Check>
  You're all set — your booking page now collects First name and Last name as separate fields.
</Check>

## How this affects the Booking API requests?

Please note that in case of API requests, your usual **responses object**

```json theme={null}
"responses": {
        "name": "John Doe",
        "email": "john.doe@example.com",
        "location": {
            "optionValue": "",
            "value": "Acme Industries"
        }
    }
```

will now be updated to allow **name** to be converted into an object containing **firstName** and **lastName** as follows:

```json theme={null}
"responses": {
        "name": {
            "firstName": "John",
            "lastName": "Doe"
        },
        "email": "john.doe@example.com",
        "location": {
            "optionValue": "",
            "value": "Acme Industries"
        }
    }
```


## Related topics

- [Add Pre-Booking Questions for Events](/docs/event-types/booking-questions/pre-booking-questions.md)
- [How to Hide and Prefill Booking Questions?](/docs/event-types/booking-questions/hide-prefill.md)
- [Create a Phone-only Event Type](/docs/event-types/booking-questions/phone-only.md)
- [Adding Attachments in Booking Pages](/docs/event-types/booking-questions/attachments.md)
