Documentation

isFormErrors

bool
CFormOutput::isFormErrors(
);

The method checks the condition "does the web form validator has errors". Non-static method.

Method parameters

No parameters.

Returned value

If errors were encountered during processing of the web form, returns true or false otherwise.

Examples of use

<?if($FORM->isFormErrors()):?>Errors: <?=$FORM->ShowFormErrors()?><?endif?>

See Also

  • CFormOutput Class
  • CFormOutput::ShowFormErrors
  • CFormOutput::ShowFormErrorsText


  • © «Bitrix24», 2001-2024
    Up