Email address validation (Previous) (Next) Validate features

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Plain HTML

Number validation

Number validation --  Validation for numbers.

Introduction to Number validation

This method validates numbers. Decimal or not, max and min.

This method takes two arguments:

  • A number.

  • An array of options (optional).

Various option are:

  • decimal (mixed) - Decimal chars or false when decimal not allowed. For example ",." to allow both "." and ",".

  • dec_prec (int) - Number of allowed decimals.

  • min (float) - Minimum value.

  • max (float) - Maximum value.

Email address validation (Previous) (Next) Validate features

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.