Jquery UI validation
Jquery UI validation
Hi ,
I have a text field with accepts alpha or numeric values.
If Numeric range = -9999999 to 9999999.
If alphabetnumeric then range is max 4 alphanumeric characters
Trying to use aoColumn's
oValidationOptions :
{
rules:{
value: {
required : true,
number : true,
alphabet : true,
maxlength : 4}
},
messages : {
value : {
maxlength : "Alpha range is max 4 alphanumeric characters."
}
}
}
Any pointers will be a great help as I am new to jQuery.
Thanks,
AS
I have a text field with accepts alpha or numeric values.
If Numeric range = -9999999 to 9999999.
If alphabetnumeric then range is max 4 alphanumeric characters
Trying to use aoColumn's
oValidationOptions :
{
rules:{
value: {
required : true,
number : true,
alphabet : true,
maxlength : 4}
},
messages : {
value : {
maxlength : "Alpha range is max 4 alphanumeric characters."
}
}
}
Any pointers will be a great help as I am new to jQuery.
Thanks,
AS
This discussion has been closed.