This article outlines error messages that might be issued when calling the Form Submission service plugin.
The Validate Submission service plugin might issue the following error messages:
Error code | Error message |
---|---|
TYPE_ERROR | The type of the submitted value is invalid. For example, a number is submitted instead of string. |
REQUIRED_VALUE_ERROR | The required field value is not provided. |
UNKNOWN_VALUE_ERROR | The submitted value is unknown. |
MAX_LENGTH_ERROR | The submitted value exceeds the maximum length. |
MIN_LENGTH_ERROR | The submitted value doesn't reach the minimum length. |
PATTERN_ERROR | The submitted text value is not applicable for the predefined pattern. For example, a phone number pattern is (000) 000-0000 and the site visitor entered (123)4567890 . |
FORMAT_ERROR | The submitted text value is not applicable for the standard format. For example, the email is entered without the @ symbol. |
MAX_VALUE_ERROR | The submitted numeric value is too large. |
MIN_VALUE_ERROR | The submitted numeric value is too small. |
MULTIPLE_OF_VALUE_ERROR | The submitted numeric value does not evenly divide by the specified value. For example, the number doesn't divide by 3 without leaving a remainder. |
MIN_ITEMS_ERROR | The submitted value array doesn't reach the required minimum number of items. |
MAX_ITEMS_ERROR | The submitted value array exceeds the number of maximum items. |
NOT_ALLOWED_VALUE_ERROR | The submitted value is not in the list of allowed values. |
DISABLED_FORM_ERROR | The form is disabled. |