Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Make checkbox question mandatory

veram34903487
Level 2
Level 2

Hi,

I was wondering if there is a clever way to mark a question containing checkbox questions (more than 1 answer possible) mandatory that at least 1 checkbox is ticked.

In the example: I can define an error message for Container 6 if no checkbox out of those three are ticked. I know I can make each single checkbox mandatory, but that's not the point and would be detrimental in my survey case.

1772124_pastedImage_0.png

Thanks!

1 Accepted Solution
Jonathon_wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

Use simple JS to check this, Array's map() and includes() functions should suffice.

Thanks,

-Jon

View solution in original post

1 Reply
Jonathon_wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

Use simple JS to check this, Array's map() and includes() functions should suffice.

Thanks,

-Jon

View solution in original post