You are here

protected function WebformSubmissionForm::isFormNoValidate in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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 2911

Class

WebformSubmissionForm
Provides a webform to collect and edit submissions.

Namespace

Drupal\webform

Code

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