[WIP] Setup of skeleton

This commit is contained in:
Ludovic CANDELLIER
2020-03-25 00:08:27 +01:00
parent baf8e13c25
commit 36267139a1
377 changed files with 18248 additions and 26 deletions

42
config/jsvalidation.php Normal file
View File

@@ -0,0 +1,42 @@
<?php
return [
/*
* Default view used to render Javascript validation code
*
* Supported: 'jsvalidation::bootstrap', 'jsvalidation::bootstrap4'
*/
'view' => 'jsvalidation::bootstrap',
/*
* Default JQuery selector find the form to be validated.
* By default, the validations are applied to all forms.
*/
'form_selector' => 'form',
/*
* If you change the focus on detect some error then active
* this parameter to move the focus to the first error found.
*/
'focus_on_error' => false,
/*
* Duration time for the animation when We are moving the focus
* to the first error, http://api.jquery.com/animate/ for more information.
*/
'duration_animate' => 1000,
/*
* Enable or disable Ajax validations of Database and custom rules.
* By default Unique, ActiveURL, Exists and custom validations are validated via AJAX
*/
'disable_remote_validation' => false,
/*
* Field name used in the remote validation Ajax request
* You can change this value to avoid conflicts wth your field names
*/
'remote_validation_field' => '_jsvalidation',
];