xiaoyunwu
asked on
jquery validator textarea min words
Is there any way to use jquery validator to validate the minum of words in the textarea, separated by comma, and tell the custom error message?
For example: 1,2,3 4,5 is 4 words when I split with comma. I need to let them know the minum is 5 words if they submit the form using jquery validator.
For example: 1,2,3 4,5 is 4 words when I split with comma. I need to let them know the minum is 5 words if they submit the form using jquery validator.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
rules: {
your_text_area_id: {
min5: true // there should be no ; here.
}
}
});