Log in

Validations

Any Fabrik element can have a validation applied to it. On submission the form's data must conform to each of these validations or the user will be returned to the form, with the each of the elements that have failed validation highlighted with an error message defined by yourself.

Fabrik supplies you with three validation rules, "not empty", "is email" and "is alphanumeric". Fabrik also allows you to create your own validation rules, via preg expressions, which you can reuse within all your forms. Fabrik allows you to test your validations against sample data from within the administration area.

Finally these custom rules can additionally be used to replace data in your form with data stipulated in the rule. If this option is selected and the rule fails, Fabrik silently adapts the submitted information before storing it. Perhaps the most obvious use of this feature is to transform HTML into plain text.

Fabrik is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! logo is used under a limited license granted by Open Source Matters the trademark
holder in the United States and other countries.