Currently the best approach is a custom method that checks both fields, but is added only to one of them. If you have two fields side-by-side its good for message display to add the rule to the right one.

As that question now came up a few times I've added (http://dev.jquery.com/changeset/4648) an example to the dynamic-totals-demo: http://dev.jquery.com/view/trunk/plugins/validate/demo/dynamic-totals.html Its not perfect yet, focusing the invalid field needs to know which field is acutally invalid.

Let me know if that works for you


Hi Jorn,
I'll give that a try, thanks!

Regards,
Michael Price

Reply via email to