PreChatField
Represents a single field in the pre-chat form that the end user must complete before starting a Conversation.
To populate a pre-chat field, set the userInput property with the user's response. Call validate to check for errors before submission, or inspect isValid for a quick validity check.
Inheritors
Properties
Link copied to clipboard
The current validation error for this field, or PreChatErrorType.None if valid.
Link copied to clipboard
Whether the user can modify this field. Non-editable fields display a pre-filled value.
Link copied to clipboard
The localized label strings displayed to the user for this field.
Link copied to clipboard
The input type of this field, which determines validation rules and keyboard behavior.
Functions
Link copied to clipboard
Validates the current userInput against this field's rules (required, format, max length).