Skip to content

CMD-100: Form Plugin, Required Multi-Checkbox is Unreasonable #821

@R-Tomas-Gonzalez

Description

@R-Tomas-Gonzalez

Expectation


Users should be able to submit one or more options in a required multi-checkbox.

Background


Currently, when a developer/author/designer makes a required multi-checkbox, html requires the user to check all of the checkboxes in order to move forward. This eliminates the purpose of a multi-checkbox.

Dev Notes


This is a bug with HTML, which we can solve with JavaScript.

Locally Testing & Developing


Creating a Test

  1. Follow the ReadMe to get setup with the Core-CMS repository and program
  2. Sign in to the CMS using localhost:8000/admin, with the username and password you created
  3. While editing a blank page, add a form plugin by using the hamburger menu on the top right side of the window
  4. In the form plugin modal, give it a name, then scroll down to "Add another field"
  5. Edit the Text Field to be a Multi Checkbox
  6. Give it four(4) choices

Locally Developing

  1. At some point remove the error for admin and warning for user blocks of code, here: taccsite_ui/patterns/core-styles/components/django-cms-forms.hacks.css
  2. Developer may have to dig a little deeper on how to adjust the django form widget/plugin

Visual Example of Issue


CMD-100.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions