InternalPreChatField
open class InternalPreChatField(val name: String, val order: Int, val labels: PreChatLabels = PreChatLabels(), val type: PreChatFieldType, val required: Boolean, val maxLength: Int, var userInput: String = "", var errorType: PreChatErrorType = PreChatErrorType.None, var isHidden: Boolean = false, var isEditable: Boolean = true) : PreChatField
Inheritors
Constructors
Link copied to clipboard
constructor(name: String, order: Int, labels: PreChatLabels = PreChatLabels(), type: PreChatFieldType, required: Boolean, maxLength: Int, userInput: String = "", errorType: PreChatErrorType = PreChatErrorType.None, isHidden: Boolean = false, isEditable: Boolean = true)
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).