validate()

clonefish->validate() - validate the form on the server side.

Description

class clonefish { 
  boolean validate( void )
}

Each time validate() is called, the elements are validated one-by-one and a boolean value is returned.

Return values

This method returns TRUE if all the elements are valid, and returns FALSE if at least one of the elements are invalid. Elements without validation settings are always valid.

form validation for developers!

clonefish is a proven, mature form generator class that helps PHP developers to create, validate and process secure, flexible and easy-to-maintain forms
learn more
Bookmark and Share