dqs-jquery-form-validator-rails 2.2.164 → 2.2.165

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -14
  3. data/app/assets/javascripts/brazil.dev.js +6 -6
  4. data/app/assets/javascripts/brazil.js +3 -4
  5. data/app/assets/javascripts/date.dev.js +2 -2
  6. data/app/assets/javascripts/date.js +2 -3
  7. data/app/assets/javascripts/file.dev.js +30 -32
  8. data/app/assets/javascripts/file.js +3 -4
  9. data/app/assets/javascripts/html5.dev.js +9 -14
  10. data/app/assets/javascripts/html5.js +3 -4
  11. data/app/assets/javascripts/jquery.form-validator.js +1784 -0
  12. data/app/assets/javascripts/jquery.form-validator.min.js +3 -4
  13. data/app/assets/javascripts/jsconf.dev.js +8 -21
  14. data/app/assets/javascripts/jsconf.js +3 -4
  15. data/app/assets/javascripts/lang/de.dev.js +43 -45
  16. data/app/assets/javascripts/lang/de.js +3 -4
  17. data/app/assets/javascripts/lang/es.dev.js +40 -39
  18. data/app/assets/javascripts/lang/es.js +3 -4
  19. data/app/assets/javascripts/lang/fr.dev.js +43 -42
  20. data/app/assets/javascripts/lang/fr.js +3 -4
  21. data/app/assets/javascripts/lang/pt.dev.js +2 -3
  22. data/app/assets/javascripts/lang/pt.js +3 -4
  23. data/app/assets/javascripts/lang/sv.dev.js +2 -3
  24. data/app/assets/javascripts/lang/sv.js +3 -4
  25. data/app/assets/javascripts/location.dev.js +1 -1
  26. data/app/assets/javascripts/location.js +2 -3
  27. data/app/assets/javascripts/sanitize.dev.js +30 -39
  28. data/app/assets/javascripts/sanitize.js +3 -4
  29. data/app/assets/javascripts/security.dev.js +34 -51
  30. data/app/assets/javascripts/security.js +3 -4
  31. data/app/assets/javascripts/sweden.dev.js +13 -16
  32. data/app/assets/javascripts/sweden.js +3 -4
  33. data/app/assets/javascripts/toggleDisabled.dev.js +5 -6
  34. data/app/assets/javascripts/toggleDisabled.js +3 -4
  35. data/app/assets/javascripts/uk.dev.js +13 -13
  36. data/app/assets/javascripts/uk.js +3 -4
  37. data/lib/dqs/jquery/form/validator/rails/version.rb +1 -1
  38. metadata +2 -17
  39. data/app/assets/javascripts/lang/cz.dev.js +0 -65
  40. data/app/assets/javascripts/lang/cz.js +0 -9
  41. data/app/assets/javascripts/lang/it.dev.js +0 -62
  42. data/app/assets/javascripts/lang/it.js +0 -9
  43. data/app/assets/javascripts/lang/pl.dev.js +0 -65
  44. data/app/assets/javascripts/lang/pl.js +0 -9
  45. data/app/assets/javascripts/lang/ro.dev.js +0 -65
  46. data/app/assets/javascripts/lang/ro.js +0 -9
  47. data/app/assets/javascripts/lang/ru.dev.js +0 -66
  48. data/app/assets/javascripts/lang/ru.js +0 -9
  49. data/app/assets/javascripts/src/core-validators.js +0 -343
  50. data/app/assets/javascripts/src/dialogs.js +0 -123
  51. data/app/assets/javascripts/src/jquery-plugins.js +0 -452
  52. data/app/assets/javascripts/src/module-loader.js +0 -150
  53. data/app/assets/javascripts/src/setup.js +0 -168
  54. data/app/assets/javascripts/src/utils.js +0 -840
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * JQUERY-FORM-VALIDATOR
3
3
  *
4
- * @version 2.2.163
5
- * @website http://formvalidator.net/
6
- * @author Victor Jonsson, http://victorjonsson.se
4
+ * @website by
7
5
  * @license MIT
6
+ * @version 2.2.81
8
7
  */
9
- !function(a,b){"use strict";var c=a(b);a.formUtils=a.extend(a.formUtils||{},{$win:c,defaultConfig:function(){return{ignore:[],errorElementClass:"error",borderColorOnError:"#b94a48",errorMessageClass:"form-error",validationRuleAttribute:"data-validation",validationErrorMsgAttribute:"data-validation-error-msg",errorMessagePosition:"element",errorMessageTemplate:{container:'<div class="{errorMessageClass} alert alert-danger">{messages}</div>',messages:"<strong>{errorTitle}</strong><ul>{fields}</ul>",field:"<li>{msg}</li>"},errorMessageCustom:this.errorDialogs.setTemplateMessage,scrollToTopOnError:!0,dateFormat:"yyyy-mm-dd",addValidClassOnAll:!1,decimalSeparator:".",inputParentClassOnError:"has-error",inputParentClassOnSuccess:"has-success",validateHiddenInputs:!1}},validators:{},_events:{load:[],valid:[],invalid:[]},haltValidation:!1,isValidatingEntireForm:!1,addValidator:function(a){var b=0===a.name.indexOf("validate_")?a.name:"validate_"+a.name;void 0===a.validateOnKeyUp&&(a.validateOnKeyUp=!0),this.validators[b]=a},isLoadingModules:!1,loadedModules:{},loadModules:function(b,d,e){if(void 0===e&&(e=!0),a.formUtils.isLoadingModules)return void setTimeout(function(){a.formUtils.loadModules(b,d,e)});var f=!1,g=function(b,d){var g=a.split(b),h=g.length,i=function(){h--,0===h&&(a.formUtils.isLoadingModules=!1,e&&f&&("function"==typeof e?e():c.trigger("validatorsLoaded")))};h>0&&(a.formUtils.isLoadingModules=!0);var j="?_="+(new Date).getTime(),k=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0];a.each(g,function(b,c){if(c=a.trim(c),0===c.length)i();else{var e=d+c+(".js"===c.slice(-3)?"":".js"),g=document.createElement("SCRIPT");e in a.formUtils.loadedModules?i():(a.formUtils.loadedModules[e]=1,f=!0,g.type="text/javascript",g.onload=i,g.src=e+(".dev.js"===e.slice(-7)?j:""),g.onerror=function(){a.formUtils.warn("Unable to load form validation module "+e)},g.onreadystatechange=function(){("complete"===this.readyState||"loaded"===this.readyState)&&(i(),this.onload=null,this.onreadystatechange=null)},k.appendChild(g))}})};if(d)g(b,d);else{var h=function(){var c=!1;return a('script[src*="form-validator"]').each(function(){return c=this.src.substr(0,this.src.lastIndexOf("/"))+"/","/"===c&&(c=""),!1}),c!==!1?(g(b,c),!0):!1};h()||a(h)}},warn:function(a){"console"in b?"function"==typeof b.console.warn?b.console.warn(a):"function"==typeof b.console.log&&b.console.log(a):alert(a)},validateInput:function(b,c,d,e,f){b.trigger("beforeValidation"),d=d||a.formUtils.defaultConfig(),c=c||a.formUtils.LANG;var g=b.val()||"",h={isValid:!0,shouldChangeDisplay:!0,errorMsg:""},i=b.valAttr("optional"),j=!1,k=!1,l=!1,m=b.valAttr("if-checked"),n=b.valAttr("if-checked-value");if(b.attr("disabled")||!b.is(":visible")&&!d.validateHiddenInputs)return h.shouldChangeDisplay=!1,h;if(null!=m&&(j=!0,l=e.find('input[name="'+m+'"]'),null!=n?l.each(function(b,c){a(c).prop("checked")&&a(c).val()===n&&(k=!0)}):l.prop("checked")&&(k=!0)),!g&&"true"===i||j&&!k)return h.shouldChangeDisplay=d.addValidClassOnAll,h;var o=b.attr(d.validationRuleAttribute),p=!0;if(!o)return h.shouldChangeDisplay=d.addValidClassOnAll,h;var q=b.valAttr("ignore");return q&&a.each(q.split(""),function(a,b){g=g.replace(new RegExp("\\"+b),"")}),a.split(o,function(h){0!==h.indexOf("validate_")&&(h="validate_"+h);var i=a.formUtils.validators[h];if(!i||"function"!=typeof i.validatorFunction)throw new Error('Using undefined validator "'+h+'". Maybe you have forgotten to load the module that "'+h+'" belongs to?');"validate_checkbox_group"===h&&(b=e.find('[name="'+b.attr("name")+'"]:eq(0)'));var j=null;return("keyup"!==f||i.validateOnKeyUp)&&(j=i.validatorFunction(g,b,d,c,e)),j?void 0:(p=null,null!==j&&(p=b.attr(d.validationErrorMsgAttribute+"-"+h.replace("validate_","")),p||(p=b.attr(d.validationErrorMsgAttribute),p||(p="function"!=typeof i.errorMessageKey?c[i.errorMessageKey]:c[i.errorMessageKey(d)],p||(p=i.errorMessage)))),!1)}," "),"string"==typeof p?(b.trigger("validation",!1),h.errorMsg=p,h.isValid=!1,h.shouldChangeDisplay=!0):null===p?h.shouldChangeDisplay=d.addValidClassOnAll:(b.trigger("validation",!0),h.shouldChangeDisplay=!0),"function"==typeof d.onElementValidate&&null!==p&&d.onElementValidate(h.isValid,b,e,p),h},parseDate:function(b,c,d){var e,f,g,h,i=c.replace(/[a-zA-Z]/gi,"").substring(0,1),j="^",k=c.split(i||null);if(a.each(k,function(a,b){j+=(a>0?"\\"+i:"")+"(\\d{"+b.length+"})"}),j+="$",d){var l=[];a.each(b.split(i),function(a,b){1===b.length&&(b="0"+b),l.push(b)}),b=l.join(i)}if(e=b.match(new RegExp(j)),null===e)return!1;var m=function(b,c,d){for(var e=0;e<c.length;e++)if(c[e].substring(0,1)===b)return a.formUtils.parseDateInt(d[e+1]);return-1};return g=m("m",k,e),f=m("d",k,e),h=m("y",k,e),2===g&&f>28&&(h%4!==0||h%100===0&&h%400!==0)||2===g&&f>29&&(h%4===0||h%100!==0&&h%400===0)||g>12||0===g?!1:this.isShortMonth(g)&&f>30||!this.isShortMonth(g)&&f>31||0===f?!1:[h,g,f]},parseDateInt:function(a){return 0===a.indexOf("0")&&(a=a.replace("0","")),parseInt(a,10)},isShortMonth:function(a){return a%2===0&&7>a||a%2!==0&&a>7},lengthRestriction:function(b,c){var d=parseInt(c.text(),10),e=0,f=function(){var a=b.val().length;if(a>d){var f=b.scrollTop();b.val(b.val().substring(0,d)),b.scrollTop(f)}e=d-a,0>e&&(e=0),c.text(e)};a(b).bind("keydown keyup keypress focus blur",f).bind("cut paste",function(){setTimeout(f,100)}),a(document).bind("ready",f)},numericRangeCheck:function(b,c){var d=a.split(c),e=parseInt(c.substr(3),10);return 1===d.length&&-1===c.indexOf("min")&&-1===c.indexOf("max")&&(d=[c,c]),2===d.length&&(b<parseInt(d[0],10)||b>parseInt(d[1],10))?["out",d[0],d[1]]:0===c.indexOf("min")&&e>b?["min",e]:0===c.indexOf("max")&&b>e?["max",e]:["ok"]},_numSuggestionElements:0,_selectedSuggestion:null,_previousTypedVal:null,suggest:function(b,d,e){var f={css:{maxHeight:"150px",background:"#FFF",lineHeight:"150%",textDecoration:"underline",overflowX:"hidden",overflowY:"auto",border:"#CCC solid 1px",borderTop:"none",cursor:"pointer"},activeSuggestionCSS:{background:"#E9E9E9"}},g=function(a,b){var c=b.offset();a.css({width:b.outerWidth(),left:c.left+"px",top:c.top+b.outerHeight()+"px"})};e&&a.extend(f,e),f.css.position="absolute",f.css["z-index"]=9999,b.attr("autocomplete","off"),0===this._numSuggestionElements&&c.bind("resize",function(){a(".jquery-form-suggestions").each(function(){var b=a(this),c=b.attr("data-suggest-container");g(b,a(".suggestions-"+c).eq(0))})}),this._numSuggestionElements++;var h=function(b){var c=b.valAttr("suggestion-nr");a.formUtils._selectedSuggestion=null,a.formUtils._previousTypedVal=null,a(".jquery-form-suggestion-"+c).fadeOut("fast")};return b.data("suggestions",d).valAttr("suggestion-nr",this._numSuggestionElements).unbind("focus.suggest").bind("focus.suggest",function(){a(this).trigger("keyup"),a.formUtils._selectedSuggestion=null}).unbind("keyup.suggest").bind("keyup.suggest",function(){var c=a(this),d=[],e=a.trim(c.val()).toLocaleLowerCase();if(e!==a.formUtils._previousTypedVal){a.formUtils._previousTypedVal=e;var i=!1,j=c.valAttr("suggestion-nr"),k=a(".jquery-form-suggestion-"+j);if(k.scrollTop(0),""!==e){var l=e.length>2;a.each(c.data("suggestions"),function(a,b){var c=b.toLocaleLowerCase();return c===e?(d.push("<strong>"+b+"</strong>"),i=!0,!1):void((0===c.indexOf(e)||l&&c.indexOf(e)>-1)&&d.push(b.replace(new RegExp(e,"gi"),"<strong>$&</strong>")))})}i||0===d.length&&k.length>0?k.hide():d.length>0&&0===k.length?(k=a("<div></div>").css(f.css).appendTo("body"),b.addClass("suggestions-"+j),k.attr("data-suggest-container",j).addClass("jquery-form-suggestions").addClass("jquery-form-suggestion-"+j)):d.length>0&&!k.is(":visible")&&k.show(),d.length>0&&e.length!==d[0].length&&(g(k,c),k.html(""),a.each(d,function(b,d){a("<div></div>").append(d).css({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"5px"}).addClass("form-suggest-element").appendTo(k).click(function(){c.focus(),c.val(a(this).text()),h(c)})}))}}).unbind("keydown.validation").bind("keydown.validation",function(b){var c,d,e=b.keyCode?b.keyCode:b.which,g=a(this);if(13===e&&null!==a.formUtils._selectedSuggestion){if(c=g.valAttr("suggestion-nr"),d=a(".jquery-form-suggestion-"+c),d.length>0){var i=d.find("div").eq(a.formUtils._selectedSuggestion).text();g.val(i),h(g),b.preventDefault()}}else{c=g.valAttr("suggestion-nr"),d=a(".jquery-form-suggestion-"+c);var j=d.children();if(j.length>0&&a.inArray(e,[38,40])>-1){38===e?(null===a.formUtils._selectedSuggestion?a.formUtils._selectedSuggestion=j.length-1:a.formUtils._selectedSuggestion--,a.formUtils._selectedSuggestion<0&&(a.formUtils._selectedSuggestion=j.length-1)):40===e&&(null===a.formUtils._selectedSuggestion?a.formUtils._selectedSuggestion=0:a.formUtils._selectedSuggestion++,a.formUtils._selectedSuggestion>j.length-1&&(a.formUtils._selectedSuggestion=0));var k=d.innerHeight(),l=d.scrollTop(),m=d.children().eq(0).outerHeight(),n=m*a.formUtils._selectedSuggestion;return(l>n||n>l+k)&&d.scrollTop(n),j.removeClass("active-suggestion").css("background","none").eq(a.formUtils._selectedSuggestion).addClass("active-suggestion").css(f.activeSuggestionCSS),b.preventDefault(),!1}}}).unbind("blur.suggest").bind("blur.suggest",function(){h(a(this))}),b},LANG:{errorTitle:"Form submission failed!",requiredField:"This is a required field",requiredFields:"You have not answered all required fields",badTime:"You have not given a correct time",badEmail:"You have not given a correct e-mail address",badTelephone:"You have not given a correct phone number",badSecurityAnswer:"You have not given a correct answer to the security question",badDate:"You have not given a correct date",lengthBadStart:"The input value must be between ",lengthBadEnd:" characters",lengthTooLongStart:"The input value is longer than ",lengthTooShortStart:"The input value is shorter than ",notConfirmed:"Input values could not be confirmed",badDomain:"Incorrect domain value",badUrl:"The input value is not a correct URL",badCustomVal:"The input value is incorrect",andSpaces:" and spaces ",badInt:"The input value was not a correct number",badSecurityNumber:"Your social security number was incorrect",badUKVatAnswer:"Incorrect UK VAT Number",badStrength:"The password isn't strong enough",badNumberOfSelectedOptionsStart:"You have to choose at least ",badNumberOfSelectedOptionsEnd:" answers",badAlphaNumeric:"The input value can only contain alphanumeric characters ",badAlphaNumericExtra:" and ",wrongFileSize:"The file you are trying to upload is too large (max %s)",wrongFileType:"Only files of type %s is allowed",groupCheckedRangeStart:"Please choose between ",groupCheckedTooFewStart:"Please choose at least ",groupCheckedTooManyStart:"Please choose a maximum of ",groupCheckedEnd:" item(s)",badCreditCard:"The credit card number is not correct",badCVV:"The CVV number was not correct",wrongFileDim:"Incorrect image dimensions,",imageTooTall:"the image can not be taller than",imageTooWide:"the image can not be wider than",imageTooSmall:"the image was too small",min:"min",max:"max",imageRatioNotAccepted:"Image ratio is not be accepted",badBrazilTelephoneAnswer:"The phone number entered is invalid",badBrazilCEPAnswer:"The CEP entered is invalid",badBrazilCPFAnswer:"The CPF entered is invalid"}})}(jQuery,window),function(a){"use strict";a.split=function(b,c){if("function"!=typeof c){if(!b)return[];var d=[];return a.each(b.split(c?c:/[,|\-\s]\s*/g),function(b,c){c=a.trim(c),c.length&&d.push(c)}),d}b&&a.each(b.split(/[,|\-\s]\s*/g),function(b,d){return d=a.trim(d),d.length?c(d,b):void 0})},a.validate=function(b){var c=a.extend(a.formUtils.defaultConfig(),{form:"form",validateOnEvent:!1,validateOnBlur:!0,validateCheckboxRadioOnClick:!0,showHelpOnFocus:!0,addSuggestions:!0,modules:"",onModulesLoaded:null,language:!1,onSuccess:!1,onError:!1,onElementValidate:!1});if(b=a.extend(c,b||{}),b.lang&&"en"!==b.lang){var d="lang/"+b.lang+".js";b.modules+=b.modules.length?","+d:d}a(b.form).each(function(c,d){d.validationConfig=b;var e=a(d);a.formUtils.$win.trigger("formValidationSetup",[e,b]),e.trigger("formValidationSetup",[b]),e.find(".has-help-txt").unbind("focus.validation").unbind("blur.validation"),e.removeClass("has-validation-callback").unbind("submit.validation").unbind("reset.validation").find("input[data-validation],textarea[data-validation]").unbind("blur.validation"),e.bind("submit.validation",function(){var c=a(this);if(a.formUtils.haltValidation)return!1;if(a.formUtils.isLoadingModules)return setTimeout(function(){c.trigger("submit.validation")},200),!1;var d=c.isValid(b.language,b);if(a.formUtils.haltValidation)return!1;if(!d||"function"!=typeof b.onSuccess)return d||"function"!=typeof b.onError?d:(b.onError(c),!1);var e=b.onSuccess(c);return e===!1?!1:void 0}).bind("reset.validation",function(){var c=a(this),d=c.find("."+b.errorElementClass+",.valid");c.find("."+b.errorMessageClass+".alert").remove(),a.formUtils.errorDialogs.removeErrorStyling(d,b)}).addClass("has-validation-callback"),b.showHelpOnFocus&&e.showHelpOnFocus(),b.addSuggestions&&e.addSuggestions(),b.validateOnBlur&&(e.validateOnBlur(b.language,b),e.bind("html5ValidationAttrsFound",function(){e.validateOnBlur(b.language,b)})),b.validateOnEvent&&e.validateOnEvent(b.language,b)}),""!==b.modules&&a.formUtils.loadModules(b.modules,!1,function(){"function"==typeof b.onModulesLoaded&&b.onModulesLoaded(),a.formUtils.$win.trigger("validatorsLoaded",["string"==typeof b.form?a(b.form):b.form,b])})}}(jQuery),function(a){"use strict";a.formUtils=a.extend(a.formUtils||{},{validators:{},isLoadingModules:!1,loadedModules:{},loadModules:function(b,c,d){if(void 0===d&&(d=!0),a.formUtils.isLoadingModules)return void setTimeout(function(){a.formUtils.loadModules(b,c,d)},10);var e=!1,f=function(b,c){var f=a.split(b),g=f.length,h=function(){g--,0===g&&(a.formUtils.isLoadingModules=!1,d&&e&&("function"==typeof d?d():a.formUtils.$win.trigger("validatorsLoaded")))};g>0&&(a.formUtils.isLoadingModules=!0);var i="?_="+(new Date).getTime(),j=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0];a.each(f,function(b,d){if(d=a.trim(d),0===d.length)h();else{var f=c+d+(".js"===d.slice(-3)?"":".js"),g=document.createElement("SCRIPT");f in a.formUtils.loadedModules?h():(a.formUtils.loadedModules[f]=1,e=!0,g.type="text/javascript",g.onload=h,g.src=f+(".dev.js"===f.slice(-7)?i:""),g.onerror=function(){a.formUtils.warn("Unable to load form validation module "+f)},g.onreadystatechange=function(){("complete"===this.readyState||"loaded"===this.readyState)&&(h(),this.onload=null,this.onreadystatechange=null)},j.appendChild(g))}})};if(c)f(b,c);else{var g=function(){var c=!1;return a('script[src*="form-validator"]').each(function(){return c=this.src.substr(0,this.src.lastIndexOf("/"))+"/","/"===c&&(c=""),!1}),c!==!1?(f(b,c),!0):!1};g()||a(g)}}})}(jQuery),function(a){var b=0;a.fn.validateOnBlur=function(b,c){return this.find("*[data-validation]").bind("blur.validation",function(){a(this).validateInputOnBlur(b,c,!0,"blur")}),c.validateCheckboxRadioOnClick&&this.find("input[type=checkbox][data-validation],input[type=radio][data-validation]").bind("click.validation",function(){a(this).validateInputOnBlur(b,c,!0,"click")}),this},a.fn.validateOnEvent=function(b,c){return this.find("*[data-validation-event]").each(function(){var d=a(this),e=d.valAttr("event");e&&d.unbind(e+".validation").bind(e+".validation",function(d){9!==(d||{}).keyCode&&a(this).validateInputOnBlur(b,c,!0,e)})}),this},a.fn.showHelpOnFocus=function(c){return c||(c="data-validation-help"),this.find(".has-help-txt").valAttr("has-keyup-event",!1).removeClass("has-help-txt"),this.find("textarea,input").each(function(){var d=a(this),e="jquery_form_help_"+ ++b,f=d.attr(c);f&&d.addClass("has-help-txt").unbind("focus.help").bind("focus.help",function(){var b=d.parent().find("."+e);0===b.length&&(b=a("<span />").addClass(e).addClass("help").addClass("help-block").text(f).hide(),d.after(b)),b.fadeIn()}).unbind("blur.help").bind("blur.help",function(){a(this).parent().find("."+e).fadeOut("slow")})}),this},a.fn.validate=function(b,c,d){var e=a.extend({},a.formUtils.LANG,d||{});this.each(function(){var d=a(this),f=d.closest("form").get(0).validationConfig||{};d.one("validation",function(a,c){"function"==typeof b&&b(c,this,a)}),d.validateInputOnBlur(e,a.extend({},f,c||{}),!0)})},a.fn.willPostponeValidation=function(){return(this.valAttr("suggestion-nr")||this.valAttr("postpone")||this.hasClass("hasDatepicker"))&&!window.postponedValidation},a.fn.validateInputOnBlur=function(b,c,d,e){if(a.formUtils.eventType=e,this.willPostponeValidation()){var f=this,g=this.valAttr("postpone")||200;return window.postponedValidation=function(){f.validateInputOnBlur(b,c,d,e),window.postponedValidation=!1},setTimeout(function(){window.postponedValidation&&window.postponedValidation()},g),this}b=a.extend({},a.formUtils.LANG,b||{}),a.formUtils.errorDialogs.removeErrorStyling(this,c);var h=this,i=h.closest("form"),j=a.formUtils.validateInput(h,b,c,i,e);return d&&h.unbind("keyup.validation"),j.isValid?j.shouldChangeDisplay&&(h.addClass("valid"),a.formUtils.errorDialogs.getParentContainer(h).addClass(c.inputParentClassOnSuccess)):j.isValid||(a.formUtils.errorDialogs.applyErrorStyling(h,c),a.formUtils.errorDialogs.setInlineErrorMessage(h,j.errorMsg,c,c.errorMessagePosition),d&&h.bind("keyup.validation",function(d){9!==d.keyCode&&a(this).validateInputOnBlur(b,c,!1,"keyup")})),this},a.fn.valAttr=function(a,b){return void 0===b?this.attr("data-validation-"+a):b===!1||null===b?this.removeAttr("data-validation-"+a):(a=a.length>0?"-"+a:"",this.attr("data-validation"+a,b))},a.fn.isValid=function(b,c,d){if(a.formUtils.isLoadingModules){var e=this;return setTimeout(function(){e.isValid(b,c,d)},200),null}c=a.extend({},a.formUtils.defaultConfig(),c||{}),b=a.extend({},a.formUtils.LANG,b||{}),d=d!==!1,a.formUtils.errorDisplayPreventedWhenHalted&&(delete a.formUtils.errorDisplayPreventedWhenHalted,d=!1),a.formUtils.isValidatingEntireForm=!0,a.formUtils.haltValidation=!1;var f=function(b,e){a.inArray(b,h)<0&&h.push(b),i.push(e),e.attr("current-error",b),d&&a.formUtils.errorDialogs.applyErrorStyling(e,c)},g=[],h=[],i=[],j=this,k=function(b,d){return"submit"===d||"button"===d||"reset"===d?!0:a.inArray(b,c.ignore||[])>-1};if(d&&(j.find("."+c.errorMessageClass+".alert").remove(),a.formUtils.errorDialogs.removeErrorStyling(j.find("."+c.errorElementClass+",.valid"),c)),j.find("input,textarea,select").filter(':not([type="submit"],[type="button"])').each(function(){var d=a(this),e=d.attr("type"),h="radio"===e||"checkbox"===e,i=d.attr("name");if(!k(i,e)&&(!h||a.inArray(i,g)<0)){h&&g.push(i);var l=a.formUtils.validateInput(d,b,c,j,"submit");l.shouldChangeDisplay&&(l.isValid?l.isValid&&(d.valAttr("current-error",!1).addClass("valid"),a.formUtils.errorDialogs.getParentContainer(d).addClass(c.inputParentClassOnSuccess)):f(l.errorMsg,d))}}),"function"==typeof c.onValidate){var l=c.onValidate(j);a.isArray(l)?a.each(l,function(a,b){f(b.message,b.element)}):l&&l.element&&l.message&&f(l.message,l.element)}return a.formUtils.isValidatingEntireForm=!1,!a.formUtils.haltValidation&&i.length>0?(d&&("top"===c.errorMessagePosition?a.formUtils.errorDialogs.setTemplateMessage(j,b.errorTitle,h,c):"custom"===c.errorMessagePosition?(a.formUtils.warn("Use deprecated function errorMessageCustom"),"function"==typeof c.errorMessageCustom&&c.errorMessageCustom(j,b.errorTitle,h,c)):a.each(i,function(b,d){a.formUtils.errorDialogs.setInlineErrorMessage(d,d.attr("current-error"),c,c.errorMessagePosition)}),c.scrollToTopOnError&&a.formUtils.$win.scrollTop(j.offset().top-20)),!1):(!d&&a.formUtils.haltValidation&&(a.formUtils.errorDisplayPreventedWhenHalted=!0),!a.formUtils.haltValidation)},a.fn.validateForm=function(b,c){return a.formUtils.warn("Use of deprecated function $.validateForm, use $.isValid instead"),this.isValid(b,c,!0)},a.fn.restrictLength=function(b){return new a.formUtils.lengthRestriction(this,b),this},a.fn.addSuggestions=function(b){var c=!1;return this.find("input").each(function(){var d=a(this);c=a.split(d.attr("data-suggestions")),c.length>0&&!d.hasClass("has-suggestions")&&(a.formUtils.suggest(d,c,b),d.addClass("has-suggestions"))}),this}}(jQuery),function(a){"use strict";var b={getParentContainer:function(b){if(b.valAttr("error-msg-container"))return a(b.valAttr("error-msg-container"));var c=b.parent();if(!c.hasClass("form-group")&&!c.closest("form").hasClass("form-horizontal")){var d=c.closest(".form-group");if(d.length)return d.eq(0)}return c},applyErrorStyling:function(a,b){a.addClass(b.errorElementClass).removeClass("valid"),this.getParentContainer(a).addClass(b.inputParentClassOnError).removeClass(b.inputParentClassOnSuccess),""!==b.borderColorOnError&&a.css("border-color",b.borderColorOnError)},removeErrorStyling:function(c,d){c.each(function(){var c=a(this);b.setInlineErrorMessage(c,"",d,d.errorMessagePosition),c.removeClass("valid").removeClass(d.errorElementClass).css("border-color",""),b.getParentContainer(c).removeClass(d.inputParentClassOnError).removeClass(d.inputParentClassOnSuccess).find("."+d.errorMessageClass).remove()})},setInlineErrorMessage:function(b,c,d,e){var f,g=document.getElementById(b.attr("name")+"_err_msg"),h=function(d){a.formUtils.$win.trigger("validationErrorDisplay",[b,d]),d.html(c)};if(g?(a.formUtils.warn("Using deprecated element reference "+g.id),e=a(g)):"function"==typeof e&&(e=e(b,c,d)),"object"==typeof e){var i=!1;e.find("."+d.errorMessageClass).each(function(){return this.inputReferer===b[0]?(i=a(this),!1):void 0}),i?c?h(i):i.remove():""!==c&&(f=a('<div class="'+d.errorMessageClass+' alert"></div>'),h(f),f[0].inputReferer=b[0],e.prepend(f))}else{var j=this.getParentContainer(b);f=j.find("."+d.errorMessageClass+".help-block"),0===f.length&&(f=a("<span></span>").addClass("help-block").addClass(d.errorMessageClass),f.appendTo(j)),h(f)}},setTemplateMessage:function(b,c,d,e){var f,g=e.errorMessageTemplate.messages.replace(/\{errorTitle\}/g,c),h=[];a.each(d,function(a,b){h.push(e.errorMessageTemplate.field.replace(/\{msg\}/g,b))}),g=g.replace(/\{fields\}/g,h.join("")),f=e.errorMessageTemplate.container.replace(/\{errorMessageClass\}/g,e.errorMessageClass),f=f.replace(/\{messages\}/g,g),b.children().eq(0).before(f)}};a.formUtils=a.extend(a.formUtils||{},{errorDialogs:b})}(jQuery),function(a){a.formUtils.addValidator({name:"email",validatorFunction:function(b){var c=b.toLowerCase().split("@"),d=c[0],e=c[1];if(d&&e){if(0===d.indexOf('"')){var f=d.length;if(d=d.replace(/\"/g,""),d.length!==f-2)return!1}return a.formUtils.validators.validate_domain.validatorFunction(c[1])&&0!==d.indexOf(".")&&"."!==d.substring(d.length-1,d.length)&&-1===d.indexOf("..")&&!/[^\w\+\.\-\#\-\_\~\!\$\&\'\(\)\*\+\,\;\=\:]/.test(d)}return!1},errorMessage:"",errorMessageKey:"badEmail"}),a.formUtils.addValidator({name:"domain",validatorFunction:function(a){return a.length>0&&a.length<=253&&!/[^a-zA-Z0-9]/.test(a.slice(-2))&&!/[^a-zA-Z0-9]/.test(a.substr(0,1))&&!/[^a-zA-Z0-9\.\-]/.test(a)&&1===a.split("..").length&&a.split(".").length>1},errorMessage:"",errorMessageKey:"badDomain"}),a.formUtils.addValidator({name:"required",validatorFunction:function(b,c,d,e,f){switch(c.attr("type")){case"checkbox":return c.is(":checked");case"radio":return f.find('input[name="'+c.attr("name")+'"]').filter(":checked").length>0;default:return""!==a.trim(b)}},errorMessage:"",errorMessageKey:function(a){return"top"===a.errorMessagePosition||"custom"===a.errorMessagePosition?"requiredFields":"requiredField"}}),a.formUtils.addValidator({name:"length",validatorFunction:function(b,c,d,e){var f=c.valAttr("length"),g=c.attr("type");if(void 0===f)return alert('Please add attribute "data-validation-length" to '+c[0].nodeName+" named "+c.attr("name")),!0;var h,i="file"===g&&void 0!==c.get(0).files?c.get(0).files.length:b.length,j=a.formUtils.numericRangeCheck(i,f);switch(j[0]){case"out":this.errorMessage=e.lengthBadStart+f+e.lengthBadEnd,h=!1;break;case"min":this.errorMessage=e.lengthTooShortStart+j[1]+e.lengthBadEnd,h=!1;break;case"max":this.errorMessage=e.lengthTooLongStart+j[1]+e.lengthBadEnd,h=!1;break;default:h=!0}return h},errorMessage:"",errorMessageKey:""}),a.formUtils.addValidator({name:"url",validatorFunction:function(b){var c=/^(https?|ftp):\/\/((((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])(\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])(\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/(((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|\[|\]|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#(((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;if(c.test(b)){var d=b.split("://")[1],e=d.indexOf("/");return e>-1&&(d=d.substr(0,e)),a.formUtils.validators.validate_domain.validatorFunction(d)}return!1},errorMessage:"",errorMessageKey:"badUrl"}),a.formUtils.addValidator({name:"number",validatorFunction:function(a,b,c){if(""!==a){var d,e,f=b.valAttr("allowing")||"",g=b.valAttr("decimal-separator")||c.decimalSeparator,h=!1,i=b.valAttr("step")||"",j=!1,k=b.attr("data-sanitize")||"",l=k.split(/\s/).find(function(a){return"numberFormat"===a});if(l){if(!window.numeral)throw new ReferenceError("The data-sanitize value numberFormat cannot be used without the numeral library. Please see Data Validation in http://www.formvalidator.net for more information.");a=String(numeral().unformat(a))}if(-1===f.indexOf("number")&&(f+=",number"),-1===f.indexOf("negative")&&0===a.indexOf("-"))return!1;if(f.indexOf("range")>-1&&(d=parseFloat(f.substring(f.indexOf("[")+1,f.indexOf(";"))),e=parseFloat(f.substring(f.indexOf(";")+1,f.indexOf("]"))),h=!0),""!==i&&(j=!0),","===g){if(a.indexOf(".")>-1)return!1;a=a.replace(",",".")}if(""===a.replace(/[0-9-]/g,"")&&(!h||a>=d&&e>=a)&&(!j||a%i===0))return!0;if(f.indexOf("float")>-1&&null!==a.match(new RegExp("^([0-9-]+)\\.([0-9]+)$"))&&(!h||a>=d&&e>=a)&&(!j||a%i===0))return!0}return!1},errorMessage:"",errorMessageKey:"badInt"}),a.formUtils.addValidator({name:"alphanumeric",validatorFunction:function(b,c,d,e){var f="^([a-zA-Z0-9",g="]+)$",h=c.valAttr("allowing"),i="";if(h){i=f+h+g;var j=h.replace(/\\/g,"");j.indexOf(" ")>-1&&(j=j.replace(" ",""),j+=e.andSpaces||a.formUtils.LANG.andSpaces),this.errorMessage=e.badAlphaNumeric+e.badAlphaNumericExtra+j}else i=f+g,this.errorMessage=e.badAlphaNumeric;return new RegExp(i).test(b)},errorMessage:"",errorMessageKey:""}),a.formUtils.addValidator({name:"custom",validatorFunction:function(a,b){var c=new RegExp(b.valAttr("regexp"));return c.test(a)},errorMessage:"",errorMessageKey:"badCustomVal"}),a.formUtils.addValidator({name:"date",validatorFunction:function(b,c,d){var e=c.valAttr("format")||d.dateFormat||"yyyy-mm-dd",f="false"===c.valAttr("require-leading-zero");return a.formUtils.parseDate(b,e,f)!==!1},errorMessage:"",errorMessageKey:"badDate"}),a.formUtils.addValidator({name:"checkbox_group",validatorFunction:function(b,c,d,e,f){var g=!0,h=c.attr("name"),i=a('input[type=checkbox][name^="'+h+'"]',f),j=i.filter(":checked").length,k=c.valAttr("qty");if(void 0===k){var l=c.get(0).nodeName;alert('Attribute "data-validation-qty" is missing from '+l+" named "+c.attr("name"))}var m=a.formUtils.numericRangeCheck(j,k);switch(m[0]){case"out":this.errorMessage=e.groupCheckedRangeStart+k+e.groupCheckedEnd,g=!1;break;case"min":this.errorMessage=e.groupCheckedTooFewStart+m[1]+e.groupCheckedEnd,g=!1;break;case"max":this.errorMessage=e.groupCheckedTooManyStart+m[1]+e.groupCheckedEnd,g=!1;break;default:g=!0}if(!g){var n=function(){i.unbind("click",n),i.filter("*[data-validation]").validateInputOnBlur(e,d,!1,"blur")};i.bind("click",n)}return g}})}(jQuery);
8
+ !function(a){"use strict";var b=a(window),c=function(b){if(b.valAttr("error-msg-container"))return a(b.valAttr("error-msg-container"));var c=b.parent();if(!c.hasClass("form-group")&&!c.closest("form").hasClass("form-horizontal")){var d=c.closest(".form-group");if(d.length)return d.eq(0)}return c},d=function(a,b){a.addClass(b.errorElementClass).removeClass("valid"),c(a).addClass(b.inputParentClassOnError).removeClass(b.inputParentClassOnSuccess),""!==b.borderColorOnError&&a.css("border-color",b.borderColorOnError)},e=function(b,d){b.each(function(){var b=a(this);f(b,"",d,d.errorMessagePosition),b.removeClass("valid").removeClass(d.errorElementClass).css("border-color",""),c(b).removeClass(d.inputParentClassOnError).removeClass(d.inputParentClassOnSuccess).find("."+d.errorMessageClass).remove()})},f=function(d,e,f,g){var h=document.getElementById(d.attr("name")+"_err_msg"),i=function(a){b.trigger("validationErrorDisplay",[d,a]),a.html(e)};if(h)i(a(h));else if("object"==typeof g){var j=!1;if(g.find("."+f.errorMessageClass).each(function(){return this.inputReferer==d[0]?(j=a(this),!1):void 0}),j)e?i(j):j.remove();else{var k=a('<div class="'+f.errorMessageClass+'"></div>');i(k),k[0].inputReferer=d[0],g.prepend(k)}}else{var l=c(d),k=l.find("."+f.errorMessageClass+".help-block");0==k.length&&(k=a("<span></span>").addClass("help-block").addClass(f.errorMessageClass),k.appendTo(l)),i(k)}},g=function(b,c,d,e){var f,g=e.errorMessageTemplate.messages.replace(/\{errorTitle\}/g,c),h=[];a.each(d,function(a,b){h.push(e.errorMessageTemplate.field.replace(/\{msg\}/g,b))}),g=g.replace(/\{fields\}/g,h.join("")),f=e.errorMessageTemplate.container.replace(/\{errorMessageClass\}/g,e.errorMessageClass),f=f.replace(/\{messages\}/g,g),b.children().eq(0).before(f)};a.fn.validateOnBlur=function(b,c){return this.find("*[data-validation]").bind("blur.validation",function(){a(this).validateInputOnBlur(b,c,!0,"blur")}),c.validateCheckboxRadioOnClick&&this.find("input[type=checkbox][data-validation],input[type=radio][data-validation]").bind("click.validation",function(){a(this).validateInputOnBlur(b,c,!0,"click")}),this},a.fn.validateOnEvent=function(b,c){return this.find("*[data-validation-event]").each(function(){var d=a(this),e=d.valAttr("event");e&&d.unbind(e+".validation").bind(e+".validation",function(){a(this).validateInputOnBlur(b,c,!0,e)})}),this},a.fn.showHelpOnFocus=function(b){return b||(b="data-validation-help"),this.find(".has-help-txt").valAttr("has-keyup-event",!1).removeClass("has-help-txt"),this.find("textarea,input").each(function(){var c=a(this),d="jquery_form_help_"+(c.attr("name")||"").replace(/(:|\.|\[|\])/g,""),e=c.attr(b);e&&c.addClass("has-help-txt").unbind("focus.help").bind("focus.help",function(){var b=c.parent().find("."+d);0==b.length&&(b=a("<span />").addClass(d).addClass("help").addClass("help-block").text(e).hide(),c.after(b)),b.fadeIn()}).unbind("blur.help").bind("blur.help",function(){a(this).parent().find("."+d).fadeOut("slow")})}),this},a.fn.validate=function(b,c,d){var e=a.extend({},a.formUtils.LANG,d||{});this.each(function(){var d=a(this),f=d.closest("form").get(0).validationConfig||{};d.one("validation",function(a,c){"function"==typeof b&&b(c,this,a)}),d.validateInputOnBlur(e,a.extend({},f,c||{}),!0)})},a.fn.willPostponeValidation=function(){return(this.valAttr("suggestion-nr")||this.valAttr("postpone")||this.hasClass("hasDatepicker"))&&!window.postponedValidation},a.fn.validateInputOnBlur=function(b,g,h,i){if(a.formUtils.eventType=i,this.willPostponeValidation()){var j=this,k=this.valAttr("postpone")||200;return window.postponedValidation=function(){j.validateInputOnBlur(b,g,h,i),window.postponedValidation=!1},setTimeout(function(){window.postponedValidation&&window.postponedValidation()},k),this}b=a.extend({},a.formUtils.LANG,b||{}),e(this,g);var l=this,m=l.closest("form"),n=(l.attr(g.validationRuleAttribute),a.formUtils.validateInput(l,b,g,m,i));return n.isValid?n.shouldChangeDisplay&&(l.addClass("valid"),c(l).addClass(g.inputParentClassOnSuccess)):n.isValid||(d(l,g),f(l,n.errorMsg,g,g.errorMessagePosition),h&&l.unbind("keyup.validation").bind("keyup.validation",function(){a(this).validateInputOnBlur(b,g,!1,"keyup")})),this},a.fn.valAttr=function(a,b){return void 0===b?this.attr("data-validation-"+a):b===!1||null===b?this.removeAttr("data-validation-"+a):(a.length>0&&(a="-"+a),this.attr("data-validation"+a,b))},a.fn.isValid=function(h,i,j){if(a.formUtils.isLoadingModules){var k=this;return setTimeout(function(){k.isValid(h,i,j)},200),null}i=a.extend({},a.formUtils.defaultConfig(),i||{}),h=a.extend({},a.formUtils.LANG,h||{}),j=j!==!1,a.formUtils.errorDisplayPreventedWhenHalted&&(delete a.formUtils.errorDisplayPreventedWhenHalted,j=!1),a.formUtils.isValidatingEntireForm=!0,a.formUtils.haltValidation=!1;var l=function(b,c){a.inArray(b,n)<0&&n.push(b),o.push(c),c.attr("current-error",b),j&&d(c,i)},m=[],n=[],o=[],p=this,q=function(b,c){return"submit"===c||"button"===c||"reset"==c?!0:a.inArray(b,i.ignore||[])>-1};if(j&&(p.find("."+i.errorMessageClass+".alert").remove(),e(p.find("."+i.errorElementClass+",.valid"),i)),p.find("input,textarea,select").filter(':not([type="submit"],[type="button"])').each(function(){var b=a(this),d=b.attr("type"),e="radio"==d||"checkbox"==d,f=b.attr("name");if(!q(f,d)&&(!e||a.inArray(f,m)<0)){e&&m.push(f);var g=a.formUtils.validateInput(b,h,i,p,"submit");g.shouldChangeDisplay&&(g.isValid?g.isValid&&(b.valAttr("current-error",!1).addClass("valid"),c(b).addClass(i.inputParentClassOnSuccess)):l(g.errorMsg,b))}}),"function"==typeof i.onValidate){var r=i.onValidate(p);a.isArray(r)?a.each(r,function(a,b){l(b.message,b.element)}):r&&r.element&&r.message&&l(r.message,r.element)}return a.formUtils.isValidatingEntireForm=!1,!a.formUtils.haltValidation&&o.length>0?(j&&("top"===i.errorMessagePosition?g(p,h.errorTitle,n,i):"custom"===i.errorMessagePosition?"function"==typeof i.errorMessageCustom&&i.errorMessageCustom(p,h.errorTitle,n,i):a.each(o,function(a,b){f(b,b.attr("current-error"),i,i.errorMessagePosition)}),i.scrollToTopOnError&&b.scrollTop(p.offset().top-20)),!1):(!j&&a.formUtils.haltValidation&&(a.formUtils.errorDisplayPreventedWhenHalted=!0),!a.formUtils.haltValidation)},a.fn.validateForm=function(a,b){return window.console&&"function"==typeof window.console.warn&&window.console.warn("Use of deprecated function $.validateForm, use $.isValid instead"),this.isValid(a,b,!0)},a.fn.restrictLength=function(b){return new a.formUtils.lengthRestriction(this,b),this},a.fn.addSuggestions=function(b){var c=!1;return this.find("input").each(function(){var d=a(this);c=a.split(d.attr("data-suggestions")),c.length>0&&!d.hasClass("has-suggestions")&&(a.formUtils.suggest(d,c,b),d.addClass("has-suggestions"))}),this},a.split=function(b,c){if("function"!=typeof c){if(!b)return[];var d=[];return a.each(b.split(c?c:/[,|\-\s]\s*/g),function(b,c){c=a.trim(c),c.length&&d.push(c)}),d}b&&a.each(b.split(/[,|\-\s]\s*/g),function(b,d){return d=a.trim(d),d.length?c(d,b):void 0})},a.validate=function(c){var d=a.extend(a.formUtils.defaultConfig(),{form:"form",validateOnEvent:!1,validateOnBlur:!0,validateCheckboxRadioOnClick:!0,showHelpOnFocus:!0,addSuggestions:!0,modules:"",onModulesLoaded:null,language:!1,onSuccess:!1,onError:!1,onElementValidate:!1});if(c=a.extend(d,c||{}),c.lang&&"en"!=c.lang){var f="lang/"+c.lang+".js";c.modules+=c.modules.length?","+f:f}a(c.form).each(function(d,f){f.validationConfig=c;var g=a(f);b.trigger("formValidationSetup",[g,c]),g.find(".has-help-txt").unbind("focus.validation").unbind("blur.validation"),g.removeClass("has-validation-callback").unbind("submit.validation").unbind("reset.validation").find("input[data-validation],textarea[data-validation]").unbind("blur.validation"),g.bind("submit.validation",function(){var b=a(this);if(a.formUtils.haltValidation)return!1;if(a.formUtils.isLoadingModules)return setTimeout(function(){b.trigger("submit.validation")},200),!1;var d=b.isValid(c.language,c);if(a.formUtils.haltValidation)return!1;if(!d||"function"!=typeof c.onSuccess)return d||"function"!=typeof c.onError?d:(c.onError(b),!1);var e=c.onSuccess(b);return e===!1?!1:void 0}).bind("reset.validation",function(){a(this).find("."+c.errorMessageClass+".alert").remove(),e(a(this).find("."+c.errorElementClass+",.valid"),c)}).addClass("has-validation-callback"),c.showHelpOnFocus&&g.showHelpOnFocus(),c.addSuggestions&&g.addSuggestions(),c.validateOnBlur&&(g.validateOnBlur(c.language,c),g.bind("html5ValidationAttrsFound",function(){g.validateOnBlur(c.language,c)})),c.validateOnEvent&&g.validateOnEvent(c.language,c)}),""!=c.modules&&a.formUtils.loadModules(c.modules,!1,function(){"function"==typeof c.onModulesLoaded&&c.onModulesLoaded(),b.trigger("validatorsLoaded",["string"==typeof c.form?a(c.form):c.form,c])})},a.formUtils={defaultConfig:function(){return{ignore:[],errorElementClass:"error",borderColorOnError:"#b94a48",errorMessageClass:"form-error",validationRuleAttribute:"data-validation",validationErrorMsgAttribute:"data-validation-error-msg",errorMessagePosition:"element",errorMessageTemplate:{container:'<div class="{errorMessageClass} alert alert-danger">{messages}</div>',messages:"<strong>{errorTitle}</strong><ul>{fields}</ul>",field:"<li>{msg}</li>"},errorMessageCustom:g,scrollToTopOnError:!0,dateFormat:"yyyy-mm-dd",addValidClassOnAll:!1,decimalSeparator:".",inputParentClassOnError:"has-error",inputParentClassOnSuccess:"has-success",validateHiddenInputs:!1}},validators:{},_events:{load:[],valid:[],invalid:[]},haltValidation:!1,isValidatingEntireForm:!1,addValidator:function(a){var b=0===a.name.indexOf("validate_")?a.name:"validate_"+a.name;void 0===a.validateOnKeyUp&&(a.validateOnKeyUp=!0),this.validators[b]=a},isLoadingModules:!1,loadedModules:{},loadModules:function(c,d,e){if(void 0===e&&(e=!0),a.formUtils.isLoadingModules)return void setTimeout(function(){a.formUtils.loadModules(c,d,e)});var f=!1,g=function(c,d){var g=a.split(c),h=g.length,i=function(){h--,0==h&&(a.formUtils.isLoadingModules=!1,e&&f&&("function"==typeof e?e():b.trigger("validatorsLoaded")))};h>0&&(a.formUtils.isLoadingModules=!0);var j="?_="+(new Date).getTime(),k=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0];a.each(g,function(b,c){if(c=a.trim(c),0==c.length)i();else{var e=d+c+(".js"==c.slice(-3)?"":".js"),g=document.createElement("SCRIPT");e in a.formUtils.loadedModules?i():(a.formUtils.loadedModules[e]=1,f=!0,g.type="text/javascript",g.onload=i,g.src=e+(".dev.js"==e.slice(-7)?j:""),g.onerror=function(){"console"in window&&window.console.log&&window.console.log("Unable to load form validation module "+e)},g.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(i(),this.onload=null,this.onreadystatechange=null)},k.appendChild(g))}})};if(d)g(c,d);else{var h=function(){var b=!1;return a('script[src*="form-validator"]').each(function(){return b=this.src.substr(0,this.src.lastIndexOf("/"))+"/","/"==b&&(b=""),!1}),b!==!1?(g(c,b),!0):!1};h()||a(h)}},validateInput:function(b,c,d,e,f){b.trigger("beforeValidation"),d=d||a.formUtils.defaultConfig(),c=c||a.formUtils.LANG;var g=b.val()||"",h={isValid:!0,shouldChangeDisplay:!0,errorMsg:""},i=b.valAttr("optional"),j=!1,k=!1,l=!1,m=b.valAttr("if-checked");if(b.attr("disabled")||!b.is(":visible")&&!d.validateHiddenInputs)return h.shouldChangeDisplay=!1,h;null!=m&&(j=!0,l=e.find('input[name="'+m+'"]'),l.prop("checked")&&(k=!0));var n=!g&&"number"==b[0].type;if(!g&&"true"===i&&!n||j&&!k)return h.shouldChangeDisplay=d.addValidClassOnAll,h;var o=b.attr(d.validationRuleAttribute),p=!0;return o?(a.split(o,function(h){0!==h.indexOf("validate_")&&(h="validate_"+h);var i=a.formUtils.validators[h];if(!i||"function"!=typeof i.validatorFunction)throw new Error('Using undefined validator "'+h+'"');"validate_checkbox_group"==h&&(b=e.find("[name='"+b.attr("name")+"']:eq(0)"));var j=null;return("keyup"!=f||i.validateOnKeyUp)&&(j=i.validatorFunction(g,b,d,c,e)),j?void 0:(p=null,null!==j&&(p=b.attr(d.validationErrorMsgAttribute+"-"+h.replace("validate_","")),p||(p=b.attr(d.validationErrorMsgAttribute),p||(p=c[i.errorMessageKey],p||(p=i.errorMessage)))),!1)}," "),"string"==typeof p?(b.trigger("validation",!1),h.errorMsg=p,h.isValid=!1,h.shouldChangeDisplay=!0):null===p?h.shouldChangeDisplay=d.addValidClassOnAll:(b.trigger("validation",!0),h.shouldChangeDisplay=!0),"function"==typeof d.onElementValidate&&null!==p&&d.onElementValidate(h.isValid,b,e,p),h):(h.shouldChangeDisplay=d.addValidClassOnAll,h)},parseDate:function(b,c){var d,e,f,g,h=c.replace(/[a-zA-Z]/gi,"").substring(0,1),i="^",j=c.split(h||null);if(a.each(j,function(a,b){i+=(a>0?"\\"+h:"")+"(\\d{"+b.length+"})"}),i+="$",d=b.match(new RegExp(i)),null===d)return!1;var k=function(b,c,d){for(var e=0;e<c.length;e++)if(c[e].substring(0,1)===b)return a.formUtils.parseDateInt(d[e+1]);return-1};return f=k("m",j,d),e=k("d",j,d),g=k("y",j,d),2===f&&e>28&&(g%4!==0||g%100===0&&g%400!==0)||2===f&&e>29&&(g%4===0||g%100!==0&&g%400===0)||f>12||0===f?!1:this.isShortMonth(f)&&e>30||!this.isShortMonth(f)&&e>31||0===e?!1:[g,f,e]},parseDateInt:function(a){return 0===a.indexOf("0")&&(a=a.replace("0","")),parseInt(a,10)},isShortMonth:function(a){return a%2===0&&7>a||a%2!==0&&a>7},lengthRestriction:function(b,c){var d=parseInt(c.text(),10),e=0,f=function(){var a=b.val().length;if(a>d){var f=b.scrollTop();b.val(b.val().substring(0,d)),b.scrollTop(f)}e=d-a,0>e&&(e=0),c.text(e)};a(b).bind("keydown keyup keypress focus blur",f).bind("cut paste",function(){setTimeout(f,100)}),a(document).bind("ready",f)},numericRangeCheck:function(b,c){var d=a.split(c),e=parseInt(c.substr(3),10);return 1==d.length&&-1==c.indexOf("min")&&-1==c.indexOf("max")&&(d=[c,c]),2==d.length&&(b<parseInt(d[0],10)||b>parseInt(d[1],10))?["out",d[0],d[1]]:0===c.indexOf("min")&&e>b?["min",e]:0===c.indexOf("max")&&b>e?["max",e]:["ok"]},_numSuggestionElements:0,_selectedSuggestion:null,_previousTypedVal:null,suggest:function(c,d,e){var f={css:{maxHeight:"150px",background:"#FFF",lineHeight:"150%",textDecoration:"underline",overflowX:"hidden",overflowY:"auto",border:"#CCC solid 1px",borderTop:"none",cursor:"pointer"},activeSuggestionCSS:{background:"#E9E9E9"}},g=function(a,b){var c=b.offset();a.css({width:b.outerWidth(),left:c.left+"px",top:c.top+b.outerHeight()+"px"})};e&&a.extend(f,e),f.css.position="absolute",f.css["z-index"]=9999,c.attr("autocomplete","off"),0===this._numSuggestionElements&&b.bind("resize",function(){a(".jquery-form-suggestions").each(function(){var b=a(this),c=b.attr("data-suggest-container");g(b,a(".suggestions-"+c).eq(0))})}),this._numSuggestionElements++;var h=function(b){var c=b.valAttr("suggestion-nr");a.formUtils._selectedSuggestion=null,a.formUtils._previousTypedVal=null,a(".jquery-form-suggestion-"+c).fadeOut("fast")};return c.data("suggestions",d).valAttr("suggestion-nr",this._numSuggestionElements).unbind("focus.suggest").bind("focus.suggest",function(){a(this).trigger("keyup"),a.formUtils._selectedSuggestion=null}).unbind("keyup.suggest").bind("keyup.suggest",function(){var b=a(this),d=[],e=a.trim(b.val()).toLocaleLowerCase();if(e!=a.formUtils._previousTypedVal){a.formUtils._previousTypedVal=e;var i=!1,j=b.valAttr("suggestion-nr"),k=a(".jquery-form-suggestion-"+j);if(k.scrollTop(0),""!=e){var l=e.length>2;a.each(b.data("suggestions"),function(a,b){var c=b.toLocaleLowerCase();return c==e?(d.push("<strong>"+b+"</strong>"),i=!0,!1):void((0===c.indexOf(e)||l&&c.indexOf(e)>-1)&&d.push(b.replace(new RegExp(e,"gi"),"<strong>$&</strong>")))})}i||0==d.length&&k.length>0?k.hide():d.length>0&&0==k.length?(k=a("<div></div>").css(f.css).appendTo("body"),c.addClass("suggestions-"+j),k.attr("data-suggest-container",j).addClass("jquery-form-suggestions").addClass("jquery-form-suggestion-"+j)):d.length>0&&!k.is(":visible")&&k.show(),d.length>0&&e.length!=d[0].length&&(g(k,b),k.html(""),a.each(d,function(c,d){a("<div></div>").append(d).css({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"5px"}).addClass("form-suggest-element").appendTo(k).click(function(){b.focus(),b.val(a(this).text()),h(b)})}))}}).unbind("keydown.validation").bind("keydown.validation",function(b){var c,d,e=b.keyCode?b.keyCode:b.which,g=a(this);if(13==e&&null!==a.formUtils._selectedSuggestion){if(c=g.valAttr("suggestion-nr"),d=a(".jquery-form-suggestion-"+c),d.length>0){var i=d.find("div").eq(a.formUtils._selectedSuggestion).text();g.val(i),h(g),b.preventDefault()}}else{c=g.valAttr("suggestion-nr"),d=a(".jquery-form-suggestion-"+c);var j=d.children();if(j.length>0&&a.inArray(e,[38,40])>-1){38==e?(null===a.formUtils._selectedSuggestion?a.formUtils._selectedSuggestion=j.length-1:a.formUtils._selectedSuggestion--,a.formUtils._selectedSuggestion<0&&(a.formUtils._selectedSuggestion=j.length-1)):40==e&&(null===a.formUtils._selectedSuggestion?a.formUtils._selectedSuggestion=0:a.formUtils._selectedSuggestion++,a.formUtils._selectedSuggestion>j.length-1&&(a.formUtils._selectedSuggestion=0));var k=d.innerHeight(),l=d.scrollTop(),m=d.children().eq(0).outerHeight(),n=m*a.formUtils._selectedSuggestion;return(l>n||n>l+k)&&d.scrollTop(n),j.removeClass("active-suggestion").css("background","none").eq(a.formUtils._selectedSuggestion).addClass("active-suggestion").css(f.activeSuggestionCSS),b.preventDefault(),!1}}}).unbind("blur.suggest").bind("blur.suggest",function(){h(a(this))}),c},LANG:{errorTitle:"Form submission failed!",requiredFields:"You have not answered all required fields",badTime:"You have not given a correct time",badEmail:"You have not given a correct e-mail address",badTelephone:"You have not given a correct phone number",badSecurityAnswer:"You have not given a correct answer to the security question",badDate:"You have not given a correct date",lengthBadStart:"The input value must be between ",lengthBadEnd:" characters",lengthTooLongStart:"The input value is longer than ",lengthTooShortStart:"The input value is shorter than ",notConfirmed:"Input values could not be confirmed",badDomain:"Incorrect domain value",badUrl:"The input value is not a correct URL",badCustomVal:"The input value is incorrect",andSpaces:" and spaces ",badInt:"The input value was not a correct number",badSecurityNumber:"Your social security number was incorrect",badUKVatAnswer:"Incorrect UK VAT Number",badStrength:"The password isn't strong enough",badNumberOfSelectedOptionsStart:"You have to choose at least ",badNumberOfSelectedOptionsEnd:" answers",badAlphaNumeric:"The input value can only contain alphanumeric characters ",badAlphaNumericExtra:" and ",wrongFileSize:"The file you are trying to upload is too large (max %s)",wrongFileType:"Only files of type %s is allowed",groupCheckedRangeStart:"Please choose between ",groupCheckedTooFewStart:"Please choose at least ",groupCheckedTooManyStart:"Please choose a maximum of ",groupCheckedEnd:" item(s)",badCreditCard:"The credit card number is not correct",badCVV:"The CVV number was not correct",wrongFileDim:"Incorrect image dimensions,",imageTooTall:"the image can not be taller than",imageTooWide:"the image can not be wider than",imageTooSmall:"the image was too small",min:"min",max:"max",imageRatioNotAccepted:"Image ratio is not be accepted",badBrazilTelephoneAnswer:"The phone number entered is invalid",badBrazilCEPAnswer:"The CEP entered is invalid",badBrazilCPFAnswer:"The CPF entered is invalid"}},a.formUtils.addValidator({name:"email",validatorFunction:function(b){var c=b.toLowerCase().split("@"),d=c[0],e=c[1];if(d&&e){if(0==d.indexOf('"')){var f=d.length;if(d=d.replace(/\"/g,""),d.length!=f-2)return!1}return a.formUtils.validators.validate_domain.validatorFunction(c[1])&&0!=d.indexOf(".")&&"."!=d.substring(d.length-1,d.length)&&-1==d.indexOf("..")&&!/[^\w\+\.\-\#\-\_\~\!\$\&\'\(\)\*\+\,\;\=\:]/.test(d)}return!1},errorMessage:"",errorMessageKey:"badEmail"}),a.formUtils.addValidator({name:"domain",validatorFunction:function(a){return a.length>0&&a.length<=253&&!/[^a-zA-Z0-9]/.test(a.slice(-2))&&!/[^a-zA-Z0-9]/.test(a.substr(0,1))&&!/[^a-zA-Z0-9\.\-]/.test(a)&&1==a.split("..").length&&a.split(".").length>1},errorMessage:"",errorMessageKey:"badDomain"}),a.formUtils.addValidator({name:"required",validatorFunction:function(b,c,d,e,f){switch(c.attr("type")){case"checkbox":return c.is(":checked");case"radio":return f.find('input[name="'+c.attr("name")+'"]').filter(":checked").length>0;default:return""!==a.trim(b)}},errorMessage:"",errorMessageKey:"requiredFields"}),a.formUtils.addValidator({name:"length",validatorFunction:function(b,c,d,e){var f=c.valAttr("length"),g=c.attr("type");if(void 0==f)return alert('Please add attribute "data-validation-length" to '+c[0].nodeName+" named "+c.attr("name")),!0;var h,i="file"==g&&void 0!==c.get(0).files?c.get(0).files.length:b.length,j=a.formUtils.numericRangeCheck(i,f);switch(j[0]){case"out":this.errorMessage=e.lengthBadStart+f+e.lengthBadEnd,h=!1;break;case"min":this.errorMessage=e.lengthTooShortStart+j[1]+e.lengthBadEnd,h=!1;break;case"max":this.errorMessage=e.lengthTooLongStart+j[1]+e.lengthBadEnd,h=!1;break;default:h=!0}return h},errorMessage:"",errorMessageKey:""}),a.formUtils.addValidator({name:"url",validatorFunction:function(b){var c=/^(https?|ftp):\/\/((((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])(\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])(\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/(((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|\[|\]|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#(((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i;if(c.test(b)){var d=b.split("://")[1],e=d.indexOf("/");return e>-1&&(d=d.substr(0,e)),a.formUtils.validators.validate_domain.validatorFunction(d)}return!1},errorMessage:"",errorMessageKey:"badUrl"}),a.formUtils.addValidator({name:"number",validatorFunction:function(a,b,c){if(""!==a){var d,e,f=b.valAttr("allowing")||"",g=b.valAttr("decimal-separator")||c.decimalSeparator,h=!1,i=b.valAttr("step")||"",j=!1;if(-1==f.indexOf("number")&&(f+=",number"),-1==f.indexOf("negative")&&0===a.indexOf("-"))return!1;if(f.indexOf("range")>-1&&(d=parseFloat(f.substring(f.indexOf("[")+1,f.indexOf(";"))),e=parseFloat(f.substring(f.indexOf(";")+1,f.indexOf("]"))),h=!0),""!=i&&(j=!0),","==g){if(a.indexOf(".")>-1)return!1;a=a.replace(",",".")}if(f.indexOf("number")>-1&&""===a.replace(/[0-9-]/g,"")&&(!h||a>=d&&e>=a)&&(!j||a%i==0))return!0;if(f.indexOf("float")>-1&&null!==a.match(new RegExp("^([0-9-]+)\\.([0-9]+)$"))&&(!h||a>=d&&e>=a)&&(!j||a%i==0))return!0}return!1},errorMessage:"",errorMessageKey:"badInt"}),a.formUtils.addValidator({name:"alphanumeric",validatorFunction:function(b,c,d,e){var f="^([a-zA-Z0-9",g="]+)$",h=c.valAttr("allowing"),i="";if(h){i=f+h+g;var j=h.replace(/\\/g,"");j.indexOf(" ")>-1&&(j=j.replace(" ",""),j+=e.andSpaces||a.formUtils.LANG.andSpaces),this.errorMessage=e.badAlphaNumeric+e.badAlphaNumericExtra+j}else i=f+g,this.errorMessage=e.badAlphaNumeric;return new RegExp(i).test(b)},errorMessage:"",errorMessageKey:""}),a.formUtils.addValidator({name:"custom",validatorFunction:function(a,b){var c=new RegExp(b.valAttr("regexp"));return c.test(a)},errorMessage:"",errorMessageKey:"badCustomVal"}),a.formUtils.addValidator({name:"date",validatorFunction:function(b,c,d){var e=c.valAttr("format")||d.dateFormat||"yyyy-mm-dd";return a.formUtils.parseDate(b,e)!==!1},errorMessage:"",errorMessageKey:"badDate"}),a.formUtils.addValidator({name:"checkbox_group",validatorFunction:function(b,c,d,e,f){var g=!0,h=c.attr("name"),i=a("input[type=checkbox][name^='"+h+"']",f),j=i.filter(":checked").length,k=c.valAttr("qty");if(void 0==k){var l=c.get(0).nodeName;alert('Attribute "data-validation-qty" is missing from '+l+" named "+c.attr("name"))}var m=a.formUtils.numericRangeCheck(j,k);switch(m[0]){case"out":this.errorMessage=e.groupCheckedRangeStart+k+e.groupCheckedEnd,g=!1;break;case"min":this.errorMessage=e.groupCheckedTooFewStart+m[1]+e.groupCheckedEnd,g=!1;break;case"max":this.errorMessage=e.groupCheckedTooManyStart+m[1]+e.groupCheckedEnd,g=!1;break;default:g=!0}if(!g){var n=function(){i.unbind("click",n),i.filter("*[data-validation]").validateInputOnBlur(e,d,!1,"blur")};i.bind("click",n)}return g}})}(jQuery);
@@ -7,49 +7,36 @@
7
7
  *
8
8
  * @website http://formvalidator.net/#location-validators
9
9
  * @license MIT
10
- * @version 2.2.163
10
+ * @version 2.2.81
11
11
  */
12
12
  (function($) {
13
13
 
14
- 'use strict';
14
+ "use strict";
15
15
 
16
16
  $.setupValidation = function(conf) {
17
17
  var $forms = $(conf.form || 'form');
18
18
  $.each(conf.validate || conf.validation || {}, function(elemRef, attr) {
19
19
  var $elem;
20
- if ( elemRef[0] === '#' ) {
20
+ if( elemRef[0] == '#' ) {
21
21
  $elem = $(elemRef);
22
- }
23
- else if ( elemRef[0] === '.' ) {
22
+ } else if( elemRef[0] == '.' ) {
24
23
  $elem = $forms.find(elemRef);
25
- }
26
- else {
24
+ } else {
27
25
  $elem = $forms.find('*[name="' +elemRef+ '"]');
28
26
  }
29
27
 
30
28
  $elem.attr('data-validation', attr.validation);
31
29
 
32
30
  $.each(attr, function(name, val) {
33
- if( name !== 'validation' && val !== false) {
34
- if( val === true ) {
31
+ if( name != 'validation' && val !== false) {
32
+ if( val === true )
35
33
  val = 'true';
36
- }
37
- if( name[0] === '_' ) {
38
- name = name.substring(1);
39
- if( val === false ) {
40
- $elem.removeAttr(name);
41
- } else {
42
- $elem.attr(name, val);
43
- }
44
- } else {
45
- $elem.valAttr(name, val);
46
- }
34
+ $elem.valAttr(name, val);
47
35
  }
48
36
  });
49
37
  });
50
38
 
51
39
  $.validate(conf);
52
-
53
40
  };
54
41
 
55
42
  })(jQuery);
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * JQUERY-FORM-VALIDATOR
3
3
  *
4
- * @version 2.2.163
5
- * @website http://formvalidator.net/
6
- * @author Victor Jonsson, http://victorjonsson.se
4
+ * @website by
7
5
  * @license MIT
6
+ * @version 2.2.81
8
7
  */
9
- !function(a){"use strict";a.setupValidation=function(b){var c=a(b.form||"form");a.each(b.validate||b.validation||{},function(b,d){var e;e="#"===b[0]?a(b):c.find("."===b[0]?b:'*[name="'+b+'"]'),e.attr("data-validation",d.validation),a.each(d,function(a,b){"validation"!==a&&b!==!1&&(b===!0&&(b="true"),"_"===a[0]?(a=a.substring(1),b===!1?e.removeAttr(a):e.attr(a,b)):e.valAttr(a,b))})}),a.validate(b)}}(jQuery);
8
+ !function(a){"use strict";a.setupValidation=function(b){var c=a(b.form||"form");a.each(b.validate||b.validation||{},function(b,d){var e;e="#"==b[0]?a(b):c.find("."==b[0]?b:'*[name="'+b+'"]'),e.attr("data-validation",d.validation),a.each(d,function(a,b){"validation"!=a&&b!==!1&&(b===!0&&(b="true"),e.valAttr(a,b))})}),a.validate(b)}}(jQuery);
@@ -6,60 +6,58 @@
6
6
  *
7
7
  * @website http://formvalidator.net/
8
8
  * @license MIT
9
- * @version 2.2.163
9
+ * @version 2.2.81
10
10
  */
11
11
  (function($, window) {
12
12
 
13
- 'use strict';
13
+ "use strict";
14
14
 
15
15
  $(window).bind('validatorsLoaded', function() {
16
16
 
17
17
  $.formUtils.LANG = {
18
- errorTitle: 'Ihre Anfrage konnte nicht gesendet werden!',
19
- requiredField: 'Dies ist ein Pflichtfeld',
20
- requiredFields: 'Sie haben nicht alle Fragen beantwortet',
21
- badTime: 'Sie haben nicht die korrekte Zeit eingegeben',
22
- badEmail: 'Sie haben keine gültige E-Mail-Adresse eingegeben',
23
- badTelephone: 'Sie haben keine richtige Telefonnummer eingetragen',
24
- badSecurityAnswer: 'Sie haben die falsche Antwort auf die Sicherheitsfrage eingegeben',
25
- badDate: 'Re-Eingabe eines falschen Datums',
26
- lengthBadStart: 'Der eingegebene Wert muss da zwischen sein ',
27
- lengthBadEnd: '  Zeichen',
28
- lengthTooLongStart: 'Eingegebene Wert ist größer als ',
29
- lengthTooShortStart: 'Eingegebene Wert ist größer als ',
30
- notConfirmed: 'Die Antworten könnten nicht gegenseitig bestätigen,',
31
- badDomain: 'Sie haben die falsche Domäne eingetragen',
32
- badUrl: 'Sie haben nicht die richtige URL eingegeben',
33
- badCustomVal: 'Re-Eingabe einer falschen Antwort',
34
- andSpaces: ' und Leerzeichen',
35
- badInt: 'Sie haben keine Nummer eingegeben',
36
- badSecurityNumber: 'Sie haben eine falsche Sozialversicherungsnummer eingegeben',
37
- badUKVatAnswer: 'Sie haben keine UK Umsatzsteuer-Identifikationsnummer eingegeben',
38
- badStrength: 'Sie haben ein Kennwort, das nicht sicher genug ist eingegeben',
39
- badNumberOfSelectedOptionsStart: 'Wählen Sie zu mindestens ',
40
- badNumberOfSelectedOptionsEnd: ' Antwort',
41
- badAlphaNumeric: 'Sie können nur mit alphanumerische Zeichen (Buchstaben und Zahlen) eingaben',
42
- badAlphaNumericExtra: ' und',
43
- wrongFileSize: 'Die Datei, die Sie hochzuladen versuchen, zu groß ist (max %s)',
44
- wrongFileType: 'Nur Dateien vom Typ %s sind zulässig',
45
- groupCheckedRangeStart: 'Wählen Sie zwischen',
46
- groupCheckedTooFewStart: 'Dann müssen Sie zumindest sicher,',
47
- groupCheckedTooManyStart: 'Sie können nicht mehr als zu machen',
48
- groupCheckedEnd: ' Auswahl',
49
- badCreditCard: 'Sie haben eine ungültige Kreditkartennummer eingegeben',
50
- badCVV: 'Sie haben eine falsche CVV eingegeben',
51
- wrongFileDim: 'Illegal Bildgröße,',
52
- imageTooTall: 'Bild kann nicht größer als',
53
- imageTooWide: 'Bild kann nicht breiter sein als',
54
- imageTooSmall: 'Bild ist zu klein',
55
- min: 'min',
56
- max: 'max',
57
- imageRatioNotAccepted : 'Bildverhältnis wird nicht akzeptiert',
58
- badBrazilTelephoneAnswer: 'Die eingegebene Telefonnummer ist nicht korrekt',
59
- badBrazilCEPAnswer: 'Der CEP ist ungültig',
60
- badBrazilCPFAnswer: 'Der CEP ist ungültig'
18
+ errorTitle: "Ihre Anfrage konnte nicht gesendet werden!",
19
+ requiredFields: "Sie haben nicht alle Fragen beantwortet",
20
+ badTime: "Sie haben nicht die korrekte Zeit eingegeben",
21
+ badEmail: "Sie haben keine gültige E-Mail-Adresse eingegeben",
22
+ badTelephone: "Sie haben keine richtige Telefonnummer eingetragen",
23
+ badSecurityAnswer: "Sie haben die falsche Antwort auf die Sicherheitsfrage eingegeben",
24
+ badDate: "Re-Eingabe eines falschen Datums",
25
+ lengthBadStart: "Ihre Eingabe muss zwischen %s lang sein",
26
+ lengthBadEnd: " Zeichen",
27
+ lengthTooLongStart: "Sie haben eine Antwort die länger als %s angegeben",
28
+ lengthTooShortStart: "Sie haben eine Antwort die kürzer ist als %s eingegebene",
29
+ notConfirmed: "Die Antworten könnten nicht gegenseitig bestätigen,",
30
+ badDomain: "Sie haben die falsche Domäne eingetragen",
31
+ badUrl: "Sie haben nicht die richtige URL eingegeben",
32
+ badCustomVal: "Re-Eingabe einer falschen Antwort",
33
+ andSpaces: " und Leerzeichen",
34
+ badInt: "Sie haben keine Nummer eingegeben",
35
+ badSecurityNumber: "Sie haben eine falsche Sozialversicherungsnummer eingegeben",
36
+ badUKVatAnswer: "Sie haben keine UK Umsatzsteuer-Identifikationsnummer eingegeben",
37
+ badStrength: "Sie haben ein Kennwort, das nicht sicher genug ist eingegeben",
38
+ badNumberOfSelectedOptionsStart: "Sie müssen mindestens %s wählen",
39
+ badNumberOfSelectedOptionsEnd: " Antwort",
40
+ badAlphaNumeric: "Sie können nur mit alphanumerische Zeichen (Buchstaben und Zahlen) eingaben",
41
+ badAlphaNumericExtra: und",
42
+ wrongFileSize: "Die Datei, die Sie hochzuladen versuchen, zu groß ist (max %s)",
43
+ wrongFileType: "Nur Dateien vom Typ %s sind zulässig",
44
+ groupCheckedRangeStart: "Wählen Sie zwischen",
45
+ groupCheckedTooFewStart: "Dann müssen Sie zumindest sicher,",
46
+ groupCheckedTooManyStart: "Sie können nicht mehr als zu machen",
47
+ groupCheckedEnd: " Auswahl",
48
+ badCreditCard: "Sie haben eine ungültige Kreditkartennummer eingegeben",
49
+ badCVV: "Sie haben eine falsche CVV eingegeben",
50
+ wrongFileDim: "Illegal Bildgröße,",
51
+ imageTooTall: "Das Bild kann nicht höher als %s sein",
52
+ imageTooWide: "Das Bild kann nicht breiter als %s sein",
53
+ imageTooSmall: "das Bild ist zu klein",
54
+ min: "min",
55
+ max: "max",
56
+ imageRatioNotAccepted : 'Bildverhältnis wird nicht akzeptiert'
61
57
  };
62
58
 
63
59
  });
64
60
 
65
61
  })(jQuery, window);
62
+
63
+
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * JQUERY-FORM-VALIDATOR
3
3
  *
4
- * @version 2.2.163
5
- * @website http://formvalidator.net/
6
- * @author Victor Jonsson, http://victorjonsson.se
4
+ * @website by
7
5
  * @license MIT
6
+ * @version 2.2.81
8
7
  */
9
- !function(a,b){"use strict";a(b).bind("validatorsLoaded",function(){a.formUtils.LANG={errorTitle:"Ihre Anfrage konnte nicht gesendet werden!",requiredField:"Dies ist ein Pflichtfeld",requiredFields:"Sie haben nicht alle Fragen beantwortet",badTime:"Sie haben nicht die korrekte Zeit eingegeben",badEmail:"Sie haben keine gültige E-Mail-Adresse eingegeben",badTelephone:"Sie haben keine richtige Telefonnummer eingetragen",badSecurityAnswer:"Sie haben die falsche Antwort auf die Sicherheitsfrage eingegeben",badDate:"Re-Eingabe eines falschen Datums",lengthBadStart:"Der eingegebene Wert muss da zwischen sein ",lengthBadEnd:"  Zeichen",lengthTooLongStart:"Eingegebene Wert ist größer als ",lengthTooShortStart:"Eingegebene Wert ist größer als ",notConfirmed:"Die Antworten könnten nicht gegenseitig bestätigen,",badDomain:"Sie haben die falsche Domäne eingetragen",badUrl:"Sie haben nicht die richtige URL eingegeben",badCustomVal:"Re-Eingabe einer falschen Antwort",andSpaces:" und Leerzeichen",badInt:"Sie haben keine Nummer eingegeben",badSecurityNumber:"Sie haben eine falsche Sozialversicherungsnummer eingegeben",badUKVatAnswer:"Sie haben keine UK Umsatzsteuer-Identifikationsnummer eingegeben",badStrength:"Sie haben ein Kennwort, das nicht sicher genug ist eingegeben",badNumberOfSelectedOptionsStart:"Wählen Sie zu mindestens ",badNumberOfSelectedOptionsEnd:" Antwort",badAlphaNumeric:"Sie können nur mit alphanumerische Zeichen (Buchstaben und Zahlen) eingaben",badAlphaNumericExtra:" und",wrongFileSize:"Die Datei, die Sie hochzuladen versuchen, zu groß ist (max %s)",wrongFileType:"Nur Dateien vom Typ %s sind zulässig",groupCheckedRangeStart:"Wählen Sie zwischen",groupCheckedTooFewStart:"Dann müssen Sie zumindest sicher,",groupCheckedTooManyStart:"Sie können nicht mehr als zu machen",groupCheckedEnd:" Auswahl",badCreditCard:"Sie haben eine ungültige Kreditkartennummer eingegeben",badCVV:"Sie haben eine falsche CVV eingegeben",wrongFileDim:"Illegal Bildgröße,",imageTooTall:"Bild kann nicht größer als",imageTooWide:"Bild kann nicht breiter sein als",imageTooSmall:"Bild ist zu klein",min:"min",max:"max",imageRatioNotAccepted:"Bildverhältnis wird nicht akzeptiert",badBrazilTelephoneAnswer:"Die eingegebene Telefonnummer ist nicht korrekt",badBrazilCEPAnswer:"Der CEP ist ungültig",badBrazilCPFAnswer:"Der CEP ist ungültig"}})}(jQuery,window);
8
+ !function(a,b){"use strict";a(b).bind("validatorsLoaded",function(){a.formUtils.LANG={errorTitle:"Ihre Anfrage konnte nicht gesendet werden!",requiredFields:"Sie haben nicht alle Fragen beantwortet",badTime:"Sie haben nicht die korrekte Zeit eingegeben",badEmail:"Sie haben keine gültige E-Mail-Adresse eingegeben",badTelephone:"Sie haben keine richtige Telefonnummer eingetragen",badSecurityAnswer:"Sie haben die falsche Antwort auf die Sicherheitsfrage eingegeben",badDate:"Re-Eingabe eines falschen Datums",lengthBadStart:"Ihre Eingabe muss zwischen %s lang sein",lengthBadEnd:" Zeichen",lengthTooLongStart:"Sie haben eine Antwort die länger als %s angegeben",lengthTooShortStart:"Sie haben eine Antwort die kürzer ist als %s eingegebene",notConfirmed:"Die Antworten könnten nicht gegenseitig bestätigen,",badDomain:"Sie haben die falsche Domäne eingetragen",badUrl:"Sie haben nicht die richtige URL eingegeben",badCustomVal:"Re-Eingabe einer falschen Antwort",andSpaces:" und Leerzeichen",badInt:"Sie haben keine Nummer eingegeben",badSecurityNumber:"Sie haben eine falsche Sozialversicherungsnummer eingegeben",badUKVatAnswer:"Sie haben keine UK Umsatzsteuer-Identifikationsnummer eingegeben",badStrength:"Sie haben ein Kennwort, das nicht sicher genug ist eingegeben",badNumberOfSelectedOptionsStart:"Sie müssen mindestens %s wählen",badNumberOfSelectedOptionsEnd:" Antwort",badAlphaNumeric:"Sie können nur mit alphanumerische Zeichen (Buchstaben und Zahlen) eingaben",badAlphaNumericExtra:" und",wrongFileSize:"Die Datei, die Sie hochzuladen versuchen, zu groß ist (max %s)",wrongFileType:"Nur Dateien vom Typ %s sind zulässig",groupCheckedRangeStart:"Wählen Sie zwischen",groupCheckedTooFewStart:"Dann müssen Sie zumindest sicher,",groupCheckedTooManyStart:"Sie können nicht mehr als zu machen",groupCheckedEnd:" Auswahl",badCreditCard:"Sie haben eine ungültige Kreditkartennummer eingegeben",badCVV:"Sie haben eine falsche CVV eingegeben",wrongFileDim:"Illegal Bildgröße,",imageTooTall:"Das Bild kann nicht höher als %s sein",imageTooWide:"Das Bild kann nicht breiter als %s sein",imageTooSmall:"das Bild ist zu klein",min:"min",max:"max",imageRatioNotAccepted:"Bildverhältnis wird nicht akzeptiert"}})}(jQuery,window);
@@ -5,58 +5,59 @@
5
5
  * Spanish language package
6
6
  *
7
7
  * @website http://formvalidator.net/
8
- * @license MIT
9
- * @version 2.2.163
8
+ * @license Dual licensed under the MIT or GPL Version 2 licenses
9
+ * @version 2.2.81
10
10
  */
11
11
  (function($, window) {
12
12
 
13
- 'use strict';
13
+ "use strict";
14
14
 
15
15
  $(window).bind('validatorsLoaded', function() {
16
16
 
17
17
  $.formUtils.LANG = {
18
18
  errorTitle: 'El formulario no se ha podido enviar!',
19
- requiredField: 'Este campo es obligatorio',
20
- requiredFields: 'No ha contestado todos los campos requeridos',
21
- badTime: 'La hora proporcionada no es válida',
22
- badEmail: 'La dirección de e-mail no es válida',
23
- badTelephone: 'El número de teléfono proporcionado no es válido',
24
- badSecurityAnswer: 'La respuesta a su pregunta de seguridad es incorrecta',
25
- badDate: 'La fecha proporcionada no es válida',
26
- lengthBadStart: 'Su respuesta debe incluir entre ',
27
- lengthBadEnd: ' caracteres',
28
- lengthTooLongStart: 'Su respuesta debe de ser menor a ',
29
- lengthTooShortStart: 'Su respuesta debe de ser mayor a ',
30
- notConfirmed: 'Los valores proporcionados no pudieron ser confirmados',
19
+ requiredFields: 'No ha respondido a todas las preguntas',
20
+ badTime: 'No ha introducido la hora correcta',
21
+ badEmail: 'No ha entrado en una dirección de e-mail válida',
22
+ badTelephone: 'Usted no ha entrado en el número de teléfono correcto',
23
+ badSecurityAnswer: 'Ha introducido la respuesta incorrecta a la pregunta de seguridad',
24
+ badDate: 'Re-escribiendo una fecha incorrecta',
25
+ lengthBadStart: 'Su respuesta debe incluir entre',
26
+ lengthBadEnd: ' signo',
27
+ lengthTooLongStart: 'Ha introducido una respuesta que es más largo que',
28
+ lengthTooShortStart: 'Ha introducido una respuesta que es más corta que',
29
+ notConfirmed: 'Las respuestas no pudieron confirmar entre ',
31
30
  badDomain: 'Ha introducido un dominio incorrecto',
32
- badUrl: 'La URL proporcionada no es válida',
33
- badCustomVal: 'Los valores proporcionados no son válidos',
34
- andSpaces: ' y espacios ',
35
- badInt: 'El valor proporcionado no es un número válido',
36
- badSecurityNumber: 'El número de seguridad social proporcionado es incorrecto',
37
- badUKVatAnswer: 'No número VAT proporcionado no es válido para el Reino Unido',
38
- badStrength: 'La contraseña proporcionada no es lo suficientemente segura',
31
+ badUrl: 'Usted no ha entrado en el URL correcto',
32
+ badCustomVal: 'Re-escribiendo una respuesta incorrecta',
33
+ andSpaces: ' y espacios',
34
+ badInt: 'No ha introducido un número',
35
+ badSecurityNumber: 'Ha introducido un número de seguro social incorrecto',
36
+ badUKVatAnswer: 'No ha introducido un número de IVA del Reino Unido',
37
+ badStrength: 'Ha introducido una contraseña que no es lo suficientemente seguro',
39
38
  badNumberOfSelectedOptionsStart: 'Debe seleccionar al menos',
40
- badNumberOfSelectedOptionsEnd: ' respuesta(s)',
41
- badAlphaNumeric: 'El valor proporcionado solo debe contener caracteres alfanuméricos (a-z y números)',
42
- badAlphaNumericExtra: ' y',
43
- wrongFileSize: 'El archivo que está tratando de subir es demasiado grande (máx. %s)',
44
- wrongFileType: 'Sólo los archivos del tipo %s están permitido',
45
- groupCheckedRangeStart: 'Por favor, elija entre ',
46
- groupCheckedTooFewStart: 'Por favor, elija al menos ',
47
- groupCheckedTooManyStart: 'Por favor, elija un máximo de ',
48
- groupCheckedEnd: ' ítem(s)',
49
- badCreditCard: 'El número de tarjeta de crédito proporcionado no es válido',
50
- badCVV: 'CVV proporcionado no es válido',
51
- wrongFileDim: 'Las dimensiones de la imagen no son validas,',
52
- imageTooTall: 'el alto de la imagen no puede ser mayor a',
53
- imageTooWide: 'el ancho de la imagen no puede ser mayor a',
39
+ badNumberOfSelectedOptionsEnd: ' respuesta',
40
+ badAlphaNumeric: 'Sólo se puede responder con alfanumersika caracteres (az y números)',
41
+ badAlphaNumericExtra: ' y',
42
+ wrongFileSize: 'El archivo que está tratando de subir es demasiado grande (máx %s)',
43
+ wrongFileType: 'Sólo los archivos de tipo %s está permitido',
44
+ groupCheckedRangeStart: 'Elegir entre',
45
+ groupCheckedTooFewStart: 'Entonces usted debe hacer por lo menos',
46
+ groupCheckedTooManyStart: 'Usted no puede hacer más de',
47
+ groupCheckedEnd: ' selección',
48
+ badCreditCard: 'Ha introducido un número de tarjeta de crédito válida',
49
+ badCVV: 'Usted ha introducido una CVV incorrecta',
50
+ wrongFileDim: 'Tamaño de la imagen Ilegal,',
51
+ imageTooTall: 'el cuadro no puede ser superior a',
52
+ imageTooWide: 'el cuadro no puede ser más amplio que',
54
53
  imageTooSmall: 'la imagen es demasiado pequeña',
55
- min: 'min.',
56
- max: 'máx.',
57
- imageRatioNotAccepted : 'La proporción de imagen (alto x ancho) no es válida'
54
+ min: 'menos',
55
+ max: 'max',
56
+ imageRatioNotAccepted : 'Cociente de la imagen no es ser aceptado'
58
57
  };
59
58
 
60
59
  });
61
60
 
62
61
  })(jQuery, window);
62
+
63
+
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * JQUERY-FORM-VALIDATOR
3
3
  *
4
- * @version 2.2.163
5
- * @website http://formvalidator.net/
6
- * @author Victor Jonsson, http://victorjonsson.se
4
+ * @website by
7
5
  * @license MIT
6
+ * @version 2.2.81
8
7
  */
9
- !function(a,b){"use strict";a(b).bind("validatorsLoaded",function(){a.formUtils.LANG={errorTitle:"El formulario no se ha podido enviar!",requiredField:"Este campo es obligatorio",requiredFields:"No ha contestado todos los campos requeridos",badTime:"La hora proporcionada no es válida",badEmail:"La dirección de e-mail no es válida",badTelephone:"El número de teléfono proporcionado no es válido",badSecurityAnswer:"La respuesta a su pregunta de seguridad es incorrecta",badDate:"La fecha proporcionada no es válida",lengthBadStart:"Su respuesta debe incluir entre ",lengthBadEnd:" caracteres",lengthTooLongStart:"Su respuesta debe de ser menor a ",lengthTooShortStart:"Su respuesta debe de ser mayor a ",notConfirmed:"Los valores proporcionados no pudieron ser confirmados",badDomain:"Ha introducido un dominio incorrecto",badUrl:"La URL proporcionada no es válida",badCustomVal:"Los valores proporcionados no son válidos",andSpaces:" y espacios ",badInt:"El valor proporcionado no es un número válido",badSecurityNumber:"El número de seguridad social proporcionado es incorrecto",badUKVatAnswer:"No número VAT proporcionado no es válido para el Reino Unido",badStrength:"La contraseña proporcionada no es lo suficientemente segura",badNumberOfSelectedOptionsStart:"Debe seleccionar al menos",badNumberOfSelectedOptionsEnd:" respuesta(s)",badAlphaNumeric:"El valor proporcionado solo debe contener caracteres alfanuméricos (a-z y números)",badAlphaNumericExtra:" y",wrongFileSize:"El archivo que está tratando de subir es demasiado grande (máx. %s)",wrongFileType:"Sólo los archivos del tipo %s están permitido",groupCheckedRangeStart:"Por favor, elija entre ",groupCheckedTooFewStart:"Por favor, elija al menos ",groupCheckedTooManyStart:"Por favor, elija un máximo de ",groupCheckedEnd:" ítem(s)",badCreditCard:"El número de tarjeta de crédito proporcionado no es válido",badCVV:"CVV proporcionado no es válido",wrongFileDim:"Las dimensiones de la imagen no son validas,",imageTooTall:"el alto de la imagen no puede ser mayor a",imageTooWide:"el ancho de la imagen no puede ser mayor a",imageTooSmall:"la imagen es demasiado pequeña",min:"min.",max:"máx.",imageRatioNotAccepted:"La proporción de imagen (alto x ancho) no es válida"}})}(jQuery,window);
8
+ !function(a,b){"use strict";a(b).bind("validatorsLoaded",function(){a.formUtils.LANG={errorTitle:"El formulario no se ha podido enviar!",requiredFields:"No ha respondido a todas las preguntas",badTime:"No ha introducido la hora correcta",badEmail:"No ha entrado en una dirección de e-mail válida",badTelephone:"Usted no ha entrado en el número de teléfono correcto",badSecurityAnswer:"Ha introducido la respuesta incorrecta a la pregunta de seguridad",badDate:"Re-escribiendo una fecha incorrecta",lengthBadStart:"Su respuesta debe incluir entre",lengthBadEnd:" signo",lengthTooLongStart:"Ha introducido una respuesta que es más largo que",lengthTooShortStart:"Ha introducido una respuesta que es más corta que",notConfirmed:"Las respuestas no pudieron confirmar entre sí",badDomain:"Ha introducido un dominio incorrecto",badUrl:"Usted no ha entrado en el URL correcto",badCustomVal:"Re-escribiendo una respuesta incorrecta",andSpaces:" y espacios",badInt:"No ha introducido un número",badSecurityNumber:"Ha introducido un número de seguro social incorrecto",badUKVatAnswer:"No ha introducido un número de IVA del Reino Unido",badStrength:"Ha introducido una contraseña que no es lo suficientemente seguro",badNumberOfSelectedOptionsStart:"Debe seleccionar al menos",badNumberOfSelectedOptionsEnd:" respuesta",badAlphaNumeric:"Sólo se puede responder con alfanumersika caracteres (az y números)",badAlphaNumericExtra:" y",wrongFileSize:"El archivo que está tratando de subir es demasiado grande (máx %s)",wrongFileType:"Sólo los archivos de tipo %s está permitido",groupCheckedRangeStart:"Elegir entre",groupCheckedTooFewStart:"Entonces usted debe hacer por lo menos",groupCheckedTooManyStart:"Usted no puede hacer más de",groupCheckedEnd:" selección",badCreditCard:"Ha introducido un número de tarjeta de crédito válida",badCVV:"Usted ha introducido una CVV incorrecta",wrongFileDim:"Tamaño de la imagen Ilegal,",imageTooTall:"el cuadro no puede ser superior a",imageTooWide:"el cuadro no puede ser más amplio que",imageTooSmall:"la imagen es demasiado pequeña",min:"menos",max:"max",imageRatioNotAccepted:"Cociente de la imagen no es ser aceptado"}})}(jQuery,window);
@@ -6,57 +6,58 @@
6
6
  *
7
7
  * @website http://formvalidator.net/
8
8
  * @license MIT
9
- * @version 2.2.163
9
+ * @version 2.2.81
10
10
  */
11
11
  (function($, window) {
12
12
 
13
- 'use strict';
13
+ "use strict";
14
14
 
15
15
  $(window).bind('validatorsLoaded', function() {
16
16
 
17
17
  $.formUtils.LANG = {
18
- errorTitle: 'Le formulaire n\'a pas pu être envoyé!',
19
- requiredField: 'Ce champ est obligatoire',
20
- requiredFields: 'Vous n\'avez pas rempli tous les champs',
21
- badTime: 'Vous n\'avez pas saisi l\'heure correctement',
22
- badEmail: 'Vous n\'avez pas saisi une adresse e-mail valide',
23
- badTelephone: 'Vous n\'avez pas saisi un numéro de téléphone valide',
24
- badSecurityAnswer: 'Vous avez saisi une mauvaise réponse à la question de sécurité',
25
- badDate: 'Vous n\'avez pas saisi une date correcte',
26
- lengthBadStart: 'Votre saisie doit comporter entre',
27
- lengthBadEnd: ' caractères',
28
- lengthTooLongStart: 'Vous avez saisi une réponse qui est plus longue que',
29
- lengthTooShortStart: 'Votre saisie est plus courte que',
30
- notConfirmed: 'Les saisies ne sont pas identiques',
31
- badDomain: 'Vous avez saisi un domaine incorrect',
32
- badUrl: 'Vous avez saisi une URL incorrecte',
33
- badCustomVal: 'Re-saisissez une réponse correcte',
34
- andSpaces: ' et des espaces',
35
- badInt: 'Vous n\'avez pas saisi un numéro',
36
- badSecurityNumber: 'Vous avez saisi un mauvais numéro de sécurité sociale',
37
- badUKVatAnswer: 'Vous n\'avez pas saisi un numéro de TVA au Royaume-Uni',
38
- badStrength: 'Vous avez saisi un mot de passe pas assez sécurisé',
39
- badNumberOfSelectedOptionsStart: 'Vous devez sélectionner au moins',
40
- badNumberOfSelectedOptionsEnd: ' réponse(s)',
41
- badAlphaNumeric: 'Vous ne pouvez répondre qu\'avec des caractères alphanumériques et des chiffres',
42
- badAlphaNumericExtra: ' et',
43
- wrongFileSize: 'Le fichier que vous essayez de télécharger est trop grand (max %s)',
44
- wrongFileType: 'Seuls les fichiers du type %s sont autorisés',
45
- groupCheckedRangeStart: 'Choisissez entre',
46
- groupCheckedTooFewStart: 'Vous devez faire au moins',
47
- groupCheckedTooManyStart: 'Vous ne pouvez pas faire plus de',
48
- groupCheckedEnd: ' sélection(s)',
49
- badCreditCard: 'Vous avez saisi un numéro de carte de crédit invalide',
50
- badCVV: 'Vous avez saisi un CVV incorrect',
51
- wrongFileDim: 'Mauvaise taille de l\'image,',
52
- imageTooTall: 'l\'image ne peut pas être plus élevée que',
53
- imageTooWide: 'l\'image ne peut pas être plus large que',
54
- imageTooSmall: 'l\'image est trop petite',
55
- min: 'moins',
56
- max: 'max',
57
- imageRatioNotAccepted: 'Ratio de l\'image non accepté'
18
+ errorTitle:"Le formulaire n'a pas pu être envoyé!",
19
+ requiredFields:"Vous n'avez pas saisi tous les champs",
20
+ badTime:"Vous n'avez pas saisi l'heure correctement",
21
+ badEmail:"Vous n'avez pas saisi une adresse e-mail valide",
22
+ badTelephone:"Vous n'avez pas saisi un numéro de téléphone valide",
23
+ badSecurityAnswer:"Vous avez saisi une mauvaise réponse à la question de la sécurité",
24
+ badDate:"Vous n'avez pas saisi une date correcte",
25
+ lengthBadStart:"Votre saisie doit comporter entre",
26
+ lengthBadEnd:" caractères",
27
+ lengthTooLongStart:"Vous avez saisi une réponse qui est plus longue que",
28
+ lengthTooShortStart:"Votre saisie est plus courte que",
29
+ notConfirmed:"Les saisies ne sont pas identiques",
30
+ badDomain:"Vous avez saisi un domaine incorrect",
31
+ badUrl:"Vous avez saisi une URL incorrecte",
32
+ badCustomVal:"Re-saisissez une réponse correcte",
33
+ andSpaces:" et des espaces",
34
+ badInt:"Vous n'avez pas saisi un numéro",
35
+ badSecurityNumber:"Vous avez saisi un mauvais numéro de sécurité sociale",
36
+ badUKVatAnswer:"Vous n'avez pas saisi un numéro de TVA au Royaume-Uni",
37
+ badStrength:"Vous avez saisi un mot de passe pas assez sécurisé",
38
+ badNumberOfSelectedOptionsStart:"Vous devez sélectionner au moins",
39
+ badNumberOfSelectedOptionsEnd:" réponse",
40
+ badAlphaNumeric:"Vous ne pouvez répondre qu'avec des caractères alphanumériques et des chiffres",
41
+ badAlphaNumericExtra:et",
42
+ wrongFileSize:"Le fichier que vous essayez de télécharger est trop grand (max %s)",
43
+ wrongFileType:"Seuls les fichiers de type %s sont autorisés",
44
+ groupCheckedRangeStart:"Choisissez entre",
45
+ groupCheckedTooFewStart:"Ensuite, vous devez faire au moins",
46
+ groupCheckedTooManyStart:"Vous ne pouvez pas faire plus de",
47
+ groupCheckedEnd:" sélection",
48
+ badCreditCard:"Vous avez saisi un numéro de carte de crédit invalide",
49
+ badCVV:"Vous avez saisi un CVV incorrecte",
50
+ wrongFileDim:"Mauvaise taille de l'image,",
51
+ imageTooTall:"l'image ne peut pas être plus élevée que",
52
+ imageTooWide:"l'image ne peut pas être plus large que",
53
+ imageTooSmall:"l'image est trop petite",
54
+ min:"moins",
55
+ max:"max",
56
+ imageRatioNotAccepted:"Ratio de l'image non accepté"
58
57
  };
59
58
 
60
59
  });
61
60
 
62
61
  })(jQuery, window);
62
+
63
+