Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Handle hidden field state by hiding reason and distinguish revealed questions

Open
#520 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
frontend

Research direction

No files or tests are named. Start by tracing hidden-field state handling and the “show questions that were hidden” flow, then verify that rule-hidden fields become unanswered, benefit-determined fields preserve their prior state, and revealed questions are visually distinct from active ones.

Written by the indexing model from the issue text.

Description

Desired behavior

Hidden fields should be treated differently depending on why they are hidden:

  • Hidden by a user-defined rule on the field: consider the field unanswered/null. (I believe this is the default in form-js)
  • Hidden because all associated benefits have been determined: preserve the state the field had before it was hidden, whether answered, unanswered, or another state.

When the user toggles “show questions that were hidden”, questions that would otherwise be hidden should be visually differentiated from questions that are still in play. Possible treatments include muted/greyed styling, italics, or a visible tag; the specific treatment is open for design discussion.

Acceptance criteria

  • Rule-hidden fields are considered unanswered/null.
  • Fields hidden because all associated benefits have been determined retain their prior state.
  • Revealing otherwise-hidden questions clearly distinguishes them from questions still in play.

Related: #503

Dominant language
Java
Stars
16
Forks
5
Avg merge
1d 26m
Merged PRs (30d)
25

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodeForPhilly/benefit-decision-toolkit

All issues in CodeForPhilly/benefit-decision-toolkit

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.