SMIFormErrorType
Objective-C
enum SMIFormErrorType : NSUInteger {}
Swift
enum FormErrorType : UInt, @unchecked Sendable
The type of pre-chat error.
-
Required field not completed.
Declaration
Objective-C
SMIFormErrorTypeRequiredField
Swift
case requiredField = 0
-
Field value exceeds the maximum length.
Declaration
Objective-C
SMIFormErrorTypeMaxLength
Swift
case maxLength = 1
-
Email field doesn’t have a valid email address.
Declaration
Objective-C
SMIFormErrorTypeEmailFormat
Swift
case emailFormat = 2
-
Email field doen’t have a valid url
Declaration
Objective-C
SMIFormErrorTypeUrlFormat
Swift
case urlFormat = 3
-
No validation error detected.
Declaration
Objective-C
SMIFormErrorTypeNone
Swift
case none = 4