App Connect Form Validator Support Product Page

Answered

how to check if at least one checkbox is flagged

Asked 10 Oct 2018 14:43:06
1
has this question
10 Oct 2018 14:43:06 andrea mac posted:
Hi,
I've some checkbox with different names and ids.
I want to validate this group, I mean one checkbox at least must be selected?
How can I do it?
May be must they have the same name or id?
Is there some can help me?
Thank you

Replies

Replied 10 Oct 2018 15:03:23
10 Oct 2018 15:03:23 Teodor Kuduschiev replied:
Your checkboxes should have the same name.
Then you should apply required validation to the first one only.
Replied 12 Oct 2018 10:40:27
12 Oct 2018 10:40:27 andrea mac replied:
Thanks

Reply to this topic