1

Possible Duplicate:
jQuery Validate Plugin - How to create a simple, custom rule?

Im using js validate and i was wondering if it was possible to st up your own rules?

I want to check whether a username exists in my db before validating. To do this I need to return true or false from a method in js.

How can I add this in to js validate?

Community
  • 1
  • 1
panthro
  • 21,049
  • 61
  • 166
  • 295
  • What is JS validate? What plugin are you talking about? Or it is self written? If that is a plugin - what stops you from taking a look at its documentation page and check if custom validation methods are could be used? – Viktor S. Jan 18 '13 at 11:48

0 Answers0