Hi,
I've managed to set custom error messages for all fields including a validation rule for a select field. However the %form_errors% keyword is not listing this field's error message when I hit submit.
here are the settings:
5 options
allow Multiple - no
empty option - no
must select exactly this many options - 1
I'm guessing that the message doesn't appear because the first option is being accepted (default).
any ideas what i could try…?
You'd have to insert extra javascript that did the checking for you. Matrix inserts it's own javascript if you choose client side validation, so you'd have to be careful about conficts. I don't think this can be done through matrix itself.
A simple validation a 'required or not' selection would be nice…
The 'allow empty' option gains a value of 0 - therefore passing validation as if the user made a choice <_<
With only 1 complex rule available ideally should 'allow empty' have a null value?
Feedback from 3.12.0