Hello everyone,

I'm using the validation plugin.
I have a function which handles a field: it's required if the function
returns true, otherwise it is not:
                                  q[1]: {
                                  required: function () {
                                  ...
                                  }
                                  }
                                  
                                  And what if I need two fields to be
                                  handled with the same function?
How can I shorten this for not to write the function two times?)
Thanks!

-- 
With best regards from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ 
jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule

Reply via email to