API16

API16:JFormRuleRules

From Joomla! Documentation

Revision as of 22:34, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JFormRuleRules}} ===Define...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton] Template:Description:JFormRuleRules

Defined in

libraries/joomla/form/rules/rules.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.rules' );

[Edit See Also] Template:SeeAlso:JFormRuleRules

Examples

<CodeExamplesForm />