SmartHome
 All Data Structures Files Functions Variables
formvalidator.php File Reference

Data Structures

class  ValidatorObj
 
class  CustomValidator
 
class  FormValidator
 

Variables

const E_VAL_REQUIRED_VALUE "Please enter the value for %s"
 
const E_VAL_MAXLEN_EXCEEDED "Maximum length exceeded for %s."
 
const E_VAL_MINLEN_CHECK_FAILED "Please enter input with length more than %d for %s"
 
const E_VAL_ALNUM_CHECK_FAILED "Please provide an alpha-numeric input for %s"
 
const E_VAL_ALNUM_S_CHECK_FAILED "Please provide an alpha-numeric input for %s"
 
const E_VAL_NUM_CHECK_FAILED "Please provide numeric input for %s"
 
const E_VAL_ALPHA_CHECK_FAILED "Please provide alphabetic input for %s"
 
const E_VAL_ALPHA_S_CHECK_FAILED "Please provide alphabetic input for %s"
 
const E_VAL_EMAIL_CHECK_FAILED "Please provide a valida email address"
 
const E_VAL_LESSTHAN_CHECK_FAILED "Enter a value less than %f for %s"
 
const E_VAL_GREATERTHAN_CHECK_FAILED "Enter a value greater than %f for %s"
 
const E_VAL_REGEXP_CHECK_FAILED "Please provide a valid input for %s"
 
const E_VAL_DONTSEL_CHECK_FAILED "Wrong option selected for %s"
 
const E_VAL_SELMIN_CHECK_FAILED "Please select minimum %d options for %s"
 
const E_VAL_SELONE_CHECK_FAILED "Please select an option for %s"
 
const E_VAL_EQELMNT_CHECK_FAILED "Value of %s should be same as that of %s"
 
const E_VAL_NEELMNT_CHECK_FAILED "Value of %s should not be same as that of %s"
 

Variable Documentation

const E_VAL_ALNUM_CHECK_FAILED "Please provide an alpha-numeric input for %s"
const E_VAL_ALNUM_S_CHECK_FAILED "Please provide an alpha-numeric input for %s"
const E_VAL_ALPHA_CHECK_FAILED "Please provide alphabetic input for %s"
const E_VAL_ALPHA_S_CHECK_FAILED "Please provide alphabetic input for %s"
const E_VAL_DONTSEL_CHECK_FAILED "Wrong option selected for %s"
const E_VAL_EMAIL_CHECK_FAILED "Please provide a valida email address"
const E_VAL_EQELMNT_CHECK_FAILED "Value of %s should be same as that of %s"
const E_VAL_GREATERTHAN_CHECK_FAILED "Enter a value greater than %f for %s"
const E_VAL_LESSTHAN_CHECK_FAILED "Enter a value less than %f for %s"
const E_VAL_MAXLEN_EXCEEDED "Maximum length exceeded for %s."
const E_VAL_MINLEN_CHECK_FAILED "Please enter input with length more than %d for %s"
const E_VAL_NEELMNT_CHECK_FAILED "Value of %s should not be same as that of %s"
const E_VAL_NUM_CHECK_FAILED "Please provide numeric input for %s"
const E_VAL_REGEXP_CHECK_FAILED "Please provide a valid input for %s"
const E_VAL_REQUIRED_VALUE "Please enter the value for %s"

Default error messages

const E_VAL_SELMIN_CHECK_FAILED "Please select minimum %d options for %s"
const E_VAL_SELONE_CHECK_FAILED "Please select an option for %s"