main
main copied to clipboard
support checkboxes in custom forms
Acceptance Criteria
Given I am a sysadmin creating a new SignupForm from the console:
- When I specify a field that requires a boolean value (see list in Definitions) then view the form, I should see a checkbox for that form input without doing further work
Definitions
Form fields that support checkboxes include:
- Person.email_addresses.primary
- Person.personal_addressses.primary
- Person.phone_numbers.primary
- Person.phone_numbers.sms_capable
Context
- not super high priority (as we assume all contact infos to be primary when we only gather one)
- necessary at such point as we have a custom form that needs to gather more than one conact info or asking whether people can receive texts