{I" class:ETI"BundledAsset;FI"logical_path;TI"!nunify/plugins/validation.js;FI" pathname;TI"[/Users/jahuang/workspace/nunify/vendor/assets/javascripts/nunify/plugins/validation.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+ Ë2SI" length;TiHI" digest;TI"%6392ee845f745bf925906d933137db40;FI" source;TI"Hvar Validation = function () { return { //Validation initValidation: function () { $("#sky-form1").validate({ // Rules for form validation rules: { required: { required: true }, email: { required: true, email: true }, url: { required: true, url: true }, date: { required: true, date: true }, min: { required: true, minlength: 5 }, max: { required: true, maxlength: 5 }, range: { required: true, rangelength: [5, 10] }, digits: { required: true, digits: true }, number: { required: true, number: true }, minVal: { required: true, min: 5 }, maxVal: { required: true, max: 100 }, rangeVal: { required: true, range: [5, 100] } }, // Messages for form validation messages: { required: { required: 'Please enter something' }, email: { required: 'Please enter your email address' }, url: { required: 'Please enter your URL' }, date: { required: 'Please enter some date' }, min: { required: 'Please enter some text' }, max: { required: 'Please enter some text' }, range: { required: 'Please enter some text' }, digits: { required: 'Please enter some digits' }, number: { required: 'Please enter some number' }, minVal: { required: 'Please enter some value' }, maxVal: { required: 'Please enter some value' }, rangeVal: { required: 'Please enter some value' } }, // Do not change code below errorPlacement: function(error, element) { error.insertAfter(element.parent()); } }); } }; }(); ;TI"required_assets_digest;TI"%d356cc74e09777201bcb4b8549284efc;FI" _version;TI"%6584930913c75ff69ba506e1cfbae2c9;F