You are here

protected function WebformSubmissionForm::isFormNoValidate in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionForm.php \Drupal\webform\WebformSubmissionForm::isFormNoValidate()

Is client side validation disabled (using the webform novalidate attribute).

Return value

bool TRUE if the client side validation disabled.

File

src/WebformSubmissionForm.php, line 2897

Class

WebformSubmissionForm
Provides a webform to collect and edit submissions.

Namespace

Drupal\webform

Code

protected function isFormNoValidate() {
  return $this
    ->getWebformSetting('form_novalidate', FALSE);
}