sulervo Posted January 14 Posted January 14 Hi, these checkboxes are not mandatory (checked) in the form. I assume they should be? Field name could be something like "I approve that etc...".
Solution opentype Posted January 14 Solution Posted January 14 (edited) A checkbox allows for “0” and “1” and “0” is technically a valid choice. By the way: the “Checkbox Set” field does work as you request it here, even if there is just one choice given. In this case, it’s “at least one field must be checked”. I use this option to create a mandatory license agreement in one of my stores. Edited January 14 by opentype SeNioR- and sulervo 2
sulervo Posted January 14 Author Posted January 14 Sad 😞 But thanks for the protip! It's good enough 🙂
teraßyte Posted January 14 Posted January 14 A required checkbox field should always require a 1 value IMO. I consider it a bug. Or at least add a new setting that allows you to require it to be actually checked on submission. 🤷♂️ sulervo 1
Marc Posted January 15 Posted January 15 18 hours ago, teraßyte said: A required checkbox field should always require a 1 value IMO. I consider it a bug. Not really. What if you wanted something like "Check this box if you would like to receive a big hug from teraßyte" ? 18 hours ago, teraßyte said: Or at least add a new setting that allows you to require it to be actually checked on submission. 🤷♂️ Thats a fair suggestions of course teraßyte and WebCMS 2
sulervo Posted January 15 Author Posted January 15 5 minutes ago, Marc Stridgen said: Not really. What if you wanted something like "Check this box if you would like to receive a big hug from teraßyte" ? It's checked and locked by default 😛 Seriously, you can use Yes/No sliding switch/button.
Recommended Posts