@@ -227,37 +227,38 @@ object into the validation function.
227
227
228
228
``` javascript
229
229
var enErrorDialogs = {
230
- errorTitle : ' Form submission failed!' ,
231
- requiredFields : ' You have not answered all required fields' ,
232
- badTime : ' You have not given a correct time' ,
233
- badEmail : ' You have not given a correct e-mail address' ,
234
- badTelephone : ' You have not given a correct phone number' ,
235
- badSecurityAnswer : ' You have not given a correct answer to the security question' ,
236
- badDate : ' You have not given a correct date' ,
237
- lengthBadStart : ' The input value must be between ' ,
238
- lengthBadEnd : ' characters' ,
239
- lengthTooLongStart : ' The input value is longer than ' ,
240
- lengthTooShortStart : ' The input value is shorter than ' ,
241
- notConfirmed : ' Input values could not be confirmed' ,
242
- badDomain : ' Incorrect domain value' ,
243
- badUrl : ' The input value is not a correct URL' ,
244
- badCustomVal : ' The input value is incorrect' ,
245
- badInt : ' The input value was not a correct number' ,
246
- badSecurityNumber : ' Your social security number was incorrect' ,
247
- badUKVatAnswer : ' Incorrect UK VAT Number' ,
248
- badStrength : ' The password isn\' t strong enough' ,
249
- badNumberOfSelectedOptionsStart : ' You have to choose at least ' ,
250
- badNumberOfSelectedOptionsEnd : ' answers' ,
251
- badAlphaNumeric : ' The input value can only contain alphanumeric characters ' ,
230
+ errorTitle: ' Form submission failed!' ,
231
+ requiredFields: ' You have not answered all required fields' ,
232
+ badTime: ' You have not given a correct time' ,
233
+ badEmail: ' You have not given a correct e-mail address' ,
234
+ badTelephone: ' You have not given a correct phone number' ,
235
+ badSecurityAnswer: ' You have not given a correct answer to the security question' ,
236
+ badDate: ' You have not given a correct date' ,
237
+ lengthBadStart: ' The input value must be between ' ,
238
+ lengthBadEnd: ' characters' ,
239
+ lengthTooLongStart: ' The input value is longer than ' ,
240
+ lengthTooShortStart: ' The input value is shorter than ' ,
241
+ notConfirmed: ' Input values could not be confirmed' ,
242
+ badDomain: ' Incorrect domain value' ,
243
+ badUrl: ' The input value is not a correct URL' ,
244
+ badCustomVal: ' The input value is incorrect' ,
245
+ andSpaces: ' and spaces ' ,
246
+ badInt: ' The input value was not a correct number' ,
247
+ badSecurityNumber: ' Your social security number was incorrect' ,
248
+ badUKVatAnswer: ' Incorrect UK VAT Number' ,
249
+ badStrength: ' The password isn\' t strong enough' ,
250
+ badNumberOfSelectedOptionsStart: ' You have to choose at least ' ,
251
+ badNumberOfSelectedOptionsEnd: ' answers' ,
252
+ badAlphaNumeric: ' The input value can only contain alphanumeric characters ' ,
252
253
badAlphaNumericExtra: ' and ' ,
253
- wrongFileSize : ' The file you are trying to upload is too large (max %s)' ,
254
- wrongFileType : ' Only files of type %s is allowed' ,
255
- groupCheckedRangeStart : ' Please choose between ' ,
256
- groupCheckedTooFewStart : ' Please choose at least ' ,
257
- groupCheckedTooManyStart : ' Please choose a maximum of ' ,
258
- groupCheckedEnd : ' item(s)' ,
259
- badCreditCard : ' The credit card number is not correct' ,
260
- badCVV : ' The CVV number was not correct'
254
+ wrongFileSize: ' The file you are trying to upload is too large (max %s)' ,
255
+ wrongFileType: ' Only files of type %s is allowed' ,
256
+ groupCheckedRangeStart: ' Please choose between ' ,
257
+ groupCheckedTooFewStart: ' Please choose at least ' ,
258
+ groupCheckedTooManyStart: ' Please choose a maximum of ' ,
259
+ groupCheckedEnd: ' item(s)' ,
260
+ badCreditCard: ' The credit card number is not correct' ,
261
+ badCVV: ' The CVV number was not correct'
261
262
};
262
263
```
263
264
@@ -311,7 +312,13 @@ of validation that should be applied.
311
312
* Use the attribute data-validation-confirm to declare which input that should be confirmed when using validation=confirmation (issue #112 )
312
313
* Validation "required" now supports inputs of type radio
313
314
* $.validateForm is now deprecated, use $.isValid instead
314
-
315
+ * Possible to check if form is valid programmatically without showing error messages
316
+ * Select elements can now be validated server-side
317
+ * Cleaned up dialog object
318
+ * Various IE8 fixes
319
+ * Possible to send along parameters to the server when using server side validation
320
+ * Improved/simplified URL validation
321
+ * ... and a whole lot more small improvements
315
322
316
323
#### 2.1.47
317
324
* Incorrect error-styling when using datepicker or suggestions is now fixed
0 commit comments