required( dependency-expression )
They give an example of required: "#other:checked"
but I want my field to be required if the #other
field is either :checked
or :filled
(I don't know whether it will be a checkbox, radio button, or textbox beforehand). How would I do this?