JFormRuleEquals: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/form/rules/equals.php | libraries/joomla/form/rules/equals.php | ||
| Line 17: | Line 15: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFormRuleEquals | category=JFormRuleEquals | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 01:43, 25 March 2017
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