cds-snc / cds-snc/platform-forms-client

Combine "Name" form elements into one with multiple configurations

Open
#4,218 3 comments 0 reactions 1 assignee Claimed by @samsadasivan View on GitHub
app content design development
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 9h
Merged PRs (30d)
91

Description

## Description
As the GC Forms app has evolved, form elements have become more complex sometimes being comprised of multiple variants that follow different formats. This has become relevant for "date" and "address", as well as "name", which can all be customized to collect data differently depending on program needs.

To make the form-building application more consistent and make things more cohesive and clear, we might consider following a consistent design pattern for all elements.

At the moment,"Name" follows a different structure than upcoming changes to "Date" or "Address", by having two separate form elements: one "Full name" with one field, and one "Individual names". The idea would be to put this choice within the more modal to simplify the choice and bring the complexity of the choice / format and guidance later.

This matches the pattern used by multi-format "date" + "verified address"

## Related issues

#4053 #3564

## Screenshots

Screenshot 2024-08-26 at 1.01.40 PM.png

Screenshot 2024-08-26 at 1.01.47 PM.png

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.