hasErrors() public method

Determine whether the form element with the given name has any validation errors.
public hasErrors ( string $name ) : boolean
$name string
return boolean
Example #1
0
 /**
  * Determine whether the form element with the given name
  * has any validation errors.
  *
  * @param string $name
  * @return bool 
  * @static 
  */
 public static function hasErrors($name)
 {
     return \Bootstrapper\Form::hasErrors($name);
 }