Checkboxes form field set to 'Required' not working correctly
When you add a Checkboxes field to a form in the form builder and set it to "required", all options need to be checked in order to pass validation on the front end.
On a mandatory multiple selection control I would think it should be that at least ONE option is checked to successfully validate rather than ALL of them needing to be checked.
Thank you!
Environment
- Xperience by Kentico version: 28.1.1
- .NET version: 6
- Deployment environment: Azure
Answers
Sean, if there an example of a form with a required multiple checkboxes on V28.1.1 that we can inspect?
We followed the documentation verbatim on this: https://docs.xperience.io/xp/developers-and-admins/development/builders/form-builder/form-widget-customization#Formwidgetcustomization-Addcontextualmarkuptoformfields
@fcalvo can you reproduce this on an unmodified Dancing Goat solution using the latest version of Xperience (v28.2.1 currently)?
If you can, then I'd recommend opening a support request to determine if it's a bug.
To answer this question, you have to login first.