Hey - this is great. Just what I needed. I have a form I have wriiten via FAPI in a module. This validates it great.
Just one question/problem.
How do I write the rule for checkboxes when drupal putputs the name as
test[one]
test[two]
rather than just test[]
I want to validate the checkboxes such that at least one in
the group must be checked.
thanks
K
Comments
Comment #1
nickl commentedHave you tried the :unchecked selector?
if you want all the elements with test in their name try the attributeContains selector.
Comment #2
nickl commentedKilling active issues