Textarea

Element Description

The Textarea field is used for collecting longer inputs from users, such as addresses, detailed instructions, or comments. It allows multi-line text, offering flexibility in gathering extended information compared to a standard text field.

Sample Use Cases

  • Collect shipping or billing addresses from customers.

  • Request additional order instructions or comments.

  • Provide a space for feedback or special requests from customers.

Text Area

Textarea Field Settings

  • Label – The name of the field displayed to the customer on the checkout page.

  • Placeholder – The text that appears inside the input box before the customer types anything.

  • Description – Additional information or instructions about the field, are displayed 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 – If enabled, the customer must fill in this field before proceeding with checkout.

  • Default Value – The pre-filled value that will appear in the field when the page loads.

  • Max Length – The maximum number of characters that the customer can enter in this field.

  • Rows – Determines the visible height of the text area by specifying the number of rows. This can be adjusted based on how much space you expect the customer to need for input.

Advanced Settings

  • Custom Class Name – Add custom CSS classes to the field for styling or functionality.

  • Allowed Characters (Regex) – Set a regular expression to define allowed characters that can be input into this field.

  • Error Message – Customize the error message that appears if the validation for the field fails.

Last updated

Was this helpful?