An Alphanumeric Validation ensures that the input field only accepts letters and numbers, rejecting any special characters.
Overview
By applying alphanumeric validation, the Formea Form Builder can prevent users from entering invalid characters, thereby enhancing the quality of the data collected and reducing the risk of errors during data processing.
This type of validation also enhances security by mitigating the risk of injection attacks. By restricting input to alphanumeric characters, Formea Form Builder can reduce the likelihood of malicious code being inserted through form fields.
Features
-
Conditional validation based on the length of the input.
The plugin can be configured to enforce a minimum and maximum character count, ensuring that the input is neither too short nor too long. This is particularly useful in fields like passwords, where a minimum length might be required for security reasons, or in product codes, where a standard length is necessary for consistency.
-
Check for the presence or absence of specific phrases or words
The plugin can be set to reject inputs that contain certain prohibited words or phrases, which can be critical for maintaining professionalism or preventing the inclusion of restricted terms. Conversely, it can also be configured to ensure that certain keywords are included, which might be necessary for inputs like promotional codes or product descriptions that need to adhere to specific formats or include mandatory identifiers
-
Numerical validation
The plugin can check whether any numerical components of the input fall within a specified range. For example, a field designed to capture a serial number might require that any numbers within the string are between certain values, ensuring that only valid serial numbers are accepted. This feature is versatile enough to accommodate a wide range of applications, from ensuring that age inputs are within legal limits to validating product quantities.
Global configuration
To access the global configuration:
- Login to your Joomla! Administrator
- Go to Components » Formea Form Builder » Validations
- Click on the "Alpha Numeric Validation"
Option | Description |
---|---|
Default invalid value | The default invalid message to be displayed to user when the inserted text fails the validation. Can be overridden in the element scope configuration. |
Parameters
Available parameters on element
Option | Description | Remarks |
---|---|---|
Validator |
|
|
Character Length |
|
Applicable only Alphanumeric and Alphabets validator |
Characters |
|
Applicable only Alphanumeric and Alphabets validator |
Conditions |
|
Applicable only to Numbers validator |