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

  1. 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.

  2. 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

  3. 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:

  1. Login to your Joomla! Administrator
  2. Go to Components » Formea Form Builder » Validations
  3. 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
  • Alphanumeric
    Letters & Numbers. Accented letters and characters are also accepted.
  • Alphabets
    Accented letters and characters are also accepted, Eg: 'Bonjour,你好,مرحبا,piñata' will be valid while 'hello 123' will be invalid
  • Numbers
    Numbers (0-9) only. Negative numbers are also valid.
Character Length
  • Equals — The number of characters submitted by the user must equal to the value set.
  • Not equals — The number of characters submitted by the user must not equal to the value set.
  • Less than — The number of characters submitted by the user must be less than the value set.
  • Greater than — The number of characters submitted by the user must be more than the value set.
  • Less than or Equals to — The number of characters submitted by the user must be less than or equal to the value set.
  • Greater than or Equal to — The number of characters submitted by the user must be more than or equal to the value set.
Applicable only Alphanumeric and Alphabets validator
Characters
  • Equals — User submitted value must equal to the value set.
  • Not equals — User submitted value must not equal to the value set.
  • Contains — User submitted value must contains the value set.
  • Does not contains — User submitted value must not contains the value set.
Applicable only Alphanumeric and Alphabets validator
Conditions
  • Equals — The submitted value by the user must equal to the value set.
  • Not equals — The submitted value by the user must not equal to the value set.
  • Less than — The submitted value by the user must be less than the value set.
  • Greater than — Thesubmitted value by the user must be more than the value set.
  • Less than or Equals to — Thesubmitted value by the user must be less than or equal to the value set.
  • Greater than or Equal to — Thesubmitted value by the user must be more than or equal to the value set.
Applicable only to Numbers validator
On this page