Jquery UI validation

Jquery UI validation

arpitasarpitas Posts: 1Questions: 0Answers: 0
edited December 2012 in General
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
This discussion has been closed.