public function Form::disableValidation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Form.php \Symfony\Component\DomCrawler\Form::disableValidation()
Disables validation.
Return value
self
File
- vendor/
symfony/ dom-crawler/ Form.php, line 341
Class
- Form
- Form represents an HTML form.
Namespace
Symfony\Component\DomCrawlerCode
public function disableValidation() {
foreach ($this->fields
->all() as $field) {
if ($field instanceof Field\ChoiceFormField) {
$field
->disableValidation();
}
}
return $this;
}