create a new form
$form = new Zebra_Form('my_form');
display all error messages of error blocks
$form->show_all_error_messages(true);
public show_all_error_messages ( boolean $value = false ) : void | ||
$value | boolean | Setting this argument to TRUE will display all error messages of an error block, while setting it to FALSE will display one error message at a time. Default is FALSE. @return void |
return | void |