PHP Classes

File: config/jsvalidation.php

Recommend this page to a friend!
  Classes of Wang   Tagydes   config/jsvalidation.php   Download  
File: config/jsvalidation.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Tagydes
E-commerce Web administration panel and API
Author: By
Last change:
Date: 1 year ago
Size: 905 bytes
 

Contents

Class file image Download
<?php

return array(

   
/*
     * Default view used to render Javascript validation code
     */
   
'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' => true,

   
/*
     * 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' => 600,

   
/*
     * 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,

);