Hi Using the validate plugin, I'd like to write a validation method called "confirm" that does the following:
suppose my form has <input type="text" id="email" class="required email"> <input type="text" id="email_confirm" class="required email confirm"> what I'd like is the confirm method to look at the current object's id, strip off the "_confirm" and check that the value matches the corresponding field. I'd like this to be reusable. I've made several attempts at this but... thanks linoj