This repository was archived by the owner on Jul 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +11
-0
lines changed Expand file tree Collapse file tree 5 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 51
51
"INVALID_REQUIRED" : " Field is required. " ,
52
52
"INVALID_URL" : " Must be a valid URL. " ,
53
53
"INVALID_TIME" : " Must be a valid time format (hh:mm) OR (hh:mm:ss). " ,
54
+ "INVALID_CHECKBOX_SELECTED" : " Checkbox must be selected" ,
54
55
55
56
"AREA1" : " TextArea: Alphanumeric + Minimum(15) + Required" ,
56
57
"ERRORS" : " Errors" ,
Original file line number Diff line number Diff line change 51
51
"INVALID_REQUIRED" : " El campo es requerido. " ,
52
52
"INVALID_URL" : " Debe contener una dirección URL valida. " ,
53
53
"INVALID_TIME" : " Debe contener un formato de tiempo valido (hh:mm) ó (hh:mm:ss). " ,
54
+ "INVALID_CHECKBOX_SELECTED" : " Checkbox must be selected" ,
54
55
55
56
"AREA1" : " Area de texto: Alfanúmerica + Minimo(15) + Requerido" ,
56
57
"ERRORS" : " Errores" ,
Original file line number Diff line number Diff line change 51
51
"INVALID_REQUIRED" : " Le champ est requis. " ,
52
52
"INVALID_URL" : " Doit être un URL valide. " ,
53
53
"INVALID_TIME" : " Doit être un format de date valide (hh:mm) OU (hh:mm:ss). " ,
54
+ "INVALID_CHECKBOX_SELECTED" : " Checkbox must be selected" ,
54
55
55
56
"AREA1" : " TextArea: Alphanumérique + Minimum(15) + Required" ,
56
57
"ERRORS" : " Erreurs" ,
Original file line number Diff line number Diff line change 51
51
"INVALID_REQUIRED" : " Feltet er påkrevd. " ,
52
52
"INVALID_URL" : " Må være en gyldig URL. " ,
53
53
"INVALID_TIME" : " Må være et gyldig tidsformat (tt:mm) OR (tt:mm:ss). " ,
54
+ "INVALID_CHECKBOX_SELECTED" : " Du må krysse av." ,
54
55
55
56
"AREA1" : " TextArea: Alfanumerisk + Minimum(15) + Påkrevd" ,
56
57
"ERRORS" : " Feil" ,
Original file line number Diff line number Diff line change @@ -541,6 +541,13 @@ angular
541
541
type : "regex"
542
542
} ;
543
543
break ;
544
+ case "checked" :
545
+ validator = {
546
+ pattern : "^true$" ,
547
+ message : "INVALID_CHECKBOX_SELECTED" ,
548
+ type : "regex"
549
+ } ;
550
+ break ;
544
551
} // switch()
545
552
546
553
// add the possible alternate text user might have provided
You can’t perform that action at this time.
0 commit comments