API16

API16:JFormRuleEquals

From Joomla! Documentation

Defined in

libraries/joomla/form/rules/equals.php

Methods

Method name Description
test Method to test if two values are equal. To use this rule, the form XML needs a validate attribute of equals and a field attribute that is equal to the field to test against.

Importing

jimport( 'joomla.form.rules.equals' );



Examples

Code Examples