PHP Classes

File: vendors/gentelella/vendors/parsleyjs/src/extra/validator/dateiso.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/parsleyjs/src/extra/validator/dateiso.js   Download  
File: vendors/gentelella/vendors/parsleyjs/src/extra/validator/dateiso.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 246 bytes
 

Contents

Class file image Download
// Load this after Parsley for additional comparison validators window.Parsley.addValidator('dateiso', { validateString: function (value) { return /^(\d{4})\D?(0[1-9]|1[0-2])\D?([12]\d|0[1-9]|3[01])$/.test(value); }, priority: 256 });