Dave,
Thanks for the help. I think you'll be getting an email from me because I
clicked reply to author on accident. So, sorry about that.
I got everything working thanks to your tips and great example. I appreciate
your assistance on this.
Deron
I-CRE8 wrote:
Deron,
you would need
On Nov 29, 11:06 pm, deronsizemore [EMAIL PROTECTED] wrote:
The code is as follows:
jQuery.validator.addMethod(lettersonly, function(value, element) {
return this.optional(element) || /^[a-z]+$/i.test(value);
}, Letters only please);
My problem is that I'm not sure where to place
Hi! Thanks for the quick reply. So, with this code added, will it make all
fields letters only or is there a way for me to specify what field(s) I want
to allow letters only?
Thanks,
Deron
I-CRE8 wrote:
On Nov 29, 11:06 pm, deronsizemore [EMAIL PROTECTED] wrote:
The code is as
Try this:
http://plugins.jquery.com/project/constrain
On Nov 30, 12:54 pm, deronsizemore [EMAIL PROTECTED] wrote:
Hi! Thanks for the quick reply. So, with this code added, will it make all
fields letters only or is there a way for me to specify what field(s) I want
to allow letters only?
Deron,
you would need to add the rule:
lettersonly: true // assuming you want name to be validated with
lettersonly
to any set of rules that you want this method to apply to
I have an example form set up here:
http://ecommerce.i-cre8.com/admin/add-new-test.php
that shows how you can set up
5 matches
Mail list logo