[jQuery] (validate) Is it possible to explicitly call a registered rule

2009-09-03 Thread TheChrisPratt
I have a case where I want to create a validator that makes use of already defined rules. Is it possible to somehow call $.validator.rules.ruleA('value',element,null)?? Thanks. (*Chris*)

[jQuery] [validate] Using Rule Name in errorPlacement

2008-12-02 Thread TheChrisPratt
Is it possible to get the failed rule name within the errorPlacement function? There are many times when my requirements want me to put error messages in different places depending on which rule failed, and I haven't been able to figure out a clean way of doing it. Something like: $("#dddFo

[jQuery] [treeview] Combining treeview and sortable (and droppable)

2008-06-25 Thread TheChrisPratt
>Snef schrieb: >> Is the treeview usable together with sortable (and droppable)? And if >> so, how can I accomplish it? > >So far the treeview plugin lacks the necessary support to update >hitareas and the necessary classes after reordering elements. If you >take a look at the plugin on how the ad

[jQuery] digits: false;

2008-02-18 Thread TheChrisPratt
It appears that the digits validator doesn't check it's value. I have a situation where, depending on the value of one field, a second field may or may not be required to contain only digits. The only way I can see to achieve this within the framework would be: $(document).ready(function() {