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

Possible/probable to add conflicting rules with multi-select checkboxes element

Open
#4,140 2 comments 0 reactions 0 assignees View on GitHub
app bug enhancement
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 8h
Merged PRs (30d)
85

Description

## Description
Branching assumes that choices are exclusive. With checkboxes, multiple selections are possible and some will override others. Is there a way to help guide users through this.

## Steps to reproduce
1. Go to GC Forms
2. Add 4 new pages
3. On the first page add a checkbox question with three options
4. Have each option branch to a different page
5. Test form with multiple selections

## Details
- **Browser**: Chrome
- **Operating system**: Mac
- **Environment**: Staging
- **Language**: English
- **Viewport**: Desktop

## Expected behaviour
Should branching only be possible for single-select options?
Error messages to prevent common errors with multi-select?
Possibility to combine options in future (if select 1 AND 2, then show page Y)?

## Screenshots or videos
Screenshot 2024-07-31 at 3.52.33 PM.png

Screenshot 2024-07-31 at 3.57.07 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.