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

Avatar

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

Avatar

Correct answer by
Community Advisor

Hi,

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

Thanks,

-Jon

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Hi,

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

Thanks,

-Jon