MediaWiki
REL1_22
|
A field that will contain a numeric value. More...
Public Member Functions | |
getSize () | |
validate ($value, $alldata) | |
Override this function to add specific validation checks on the field input. |
A field that will contain a numeric value.
Definition at line 1848 of file HTMLForm.php.
Reimplemented from HTMLTextField.
Definition at line 1849 of file HTMLForm.php.
HTMLFloatField::validate | ( | $ | value, |
$ | alldata | ||
) |
Override this function to add specific validation checks on the field input.
Don't forget to call parent::validate() to ensure that the user-defined callback mValidationCallback is still run
string | $value | the value the field was submitted with |
array | $alldata | the data collected from the form |
Reimplemented from HTMLFormField.
Reimplemented in HTMLIntField.
Definition at line 1855 of file HTMLForm.php.