Version: current

     1 <?php
     2 // отключаем js валидацию на frontend
     3
     4 class DisableJSValidation extends Extension {
     5
     6     public function OnAfterInit() {
     7         Validator::set_javascript_validation_handler('none');
     8     }
     9 }
    10

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -