# Phone Number

## **Element Description**

The **Phone Number** field is used to collect phone number information from customers during the checkout process. It ensures that the input matches the format for valid phone numbers, improving communication and order management.

<figure><img src="/files/gdoIRahLNuesmFcdM53P" alt=""><figcaption></figcaption></figure>

**Sample Use Cases**

* Collect customer contact details for order confirmations.
* Request phone numbers for delivery coordination.
* Gather contact information for customer service follow-up.

<figure><img src="/files/SOb3OMNOnzLzd0qXwf67" alt=""><figcaption><p>Sample Phone Number Field</p></figcaption></figure>

## **Phone Number** Field Settings

<figure><img src="/files/7IAUBGD9MDdcT79HrAmN" alt=""><figcaption></figcaption></figure>

* **Label** – The name of the field displayed to the customer on the checkout page.
* **Placeholder** – Text shown inside the input box before the customer enters a phone number.
* **Description** – Additional information or instructions about the field that appears below the input box.
* **Enable/Disable Field** – Allows you to enable or disable the field based on your needs. If it is disabled, the element will not be displayed in the checkout form, you can enable it anytime from the checkout builder according to your needs.
* **Is Required** – When enabled, customers must fill in this field before completing their purchase.

**Advanced Settings**

* **Custom Class Name** – Add [**custom CSS classes**](/checkout-custom-fields-builder-for-woocommerce/plugin-features/custom-classes.md) to style or further customize the phone number field.
* **Validation Error Message** – Set a custom message to be displayed if the phone number input doesn't meet the validation requirements.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stylemixthemes.com/checkout-custom-fields-builder-for-woocommerce/checkout-builder-elements/phone-number.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
