Skip to content

Optional Form Section #481

@tommyneu

Description

@tommyneu

One thing we use a lot at UNL is optional sections to forms. This includes checkboxes or buttons that when clicked will reveal new inputs to fill out.

This can not be achieved with the way toggle buttons are set up in their current form. Toggle buttons would hide the inputs but anything that is required in the optional section would prevent the form from being submitted.

An example of a use case is in our events system. An event does not need a location, but if it does have a location that location needs an address.

These optional form section components would either need to store the optional part when toggled or modifications would need to be made to the toggle button to remove the require attribute off the inputs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions