Why is my checkboxes accepted validation not working? #6873
Answered
by
jasonvarga
Sennik
asked this question in
Troubleshooting
-
Why is accepted not working on my checkbox?
'required' is working BUT... When I have multiple options (checkboxes) and i choose 'required' they are validated together like a radio button list: One of the options selected is Ok for Statamic while I want them validated both seperately. |
Beta Was this translation helpful? Give feedback.
Answered by
jasonvarga
Oct 13, 2022
Replies: 1 comment 2 replies
-
The checkboxes fieldtype is an array. Try using a |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Sennik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The checkboxes fieldtype is an array.
Try using a
toggle
field instead, which is a single boolean.