TomCamp
TomCamp7mo ago

Form checkboxes

How do I add checkboxes to forms? I am creating a form where users choose an option from a select menu and then based on the selection, show a list of items that the user can check. Getting the field to show based on the select option was simple, but I can't for the life of me figure out how to add a list of values as checkboxes.
4 Replies
rubenf
rubenf7mo ago
checkboxes are just boolean I recommend doing oneOf + many boolean fields
TomCamp
TomCampOP7mo ago
Wouldn't oneof only allow the user to select one item, more like a radio button than a number of items as in a list of checkboxes?
rubenf
rubenf7mo ago
I think you misunderstood me I meant, oneOf to select the group of checkbox you want to make available not oneOf and one boolean in each case
TomCamp
TomCampOP7mo ago
ok, gotcha

Did you find this page helpful?