CSCfi / CSCfi/rems

Validate application while the applicant is typing

Open
#2,614 0 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Clojure
Stars
66
Forks
28
Avg merge
7d 4h
Merged PRs (30d)
2

Description

(split out from #2611)

As an applicant, it would be nice to see validation errors for the application (e.g. "invalid email", "input too long") even before pressing "save draft".

Consider running our form validations in the frontend and showing the errors to the applicant. Could hook to focus leaving an input field, or perhaps use a debounce.

- [ ] Create a prototype that runs the existing form validation in the frontend when focus leaves a field. Use the existing UI components for validation errors etc.

See https://github.com/CSCfi/rems/blob/master/docs/architecture/017-applicant-ux.md

Contributor guide

Open the contributing guide

Research direction

Read docs/architecture/017-applicant-ux.md first, then locate the existing form validations and UI components used for validation errors. Prototype running the existing validation when focus leaves a field, and verify that the applicant sees errors before saving a draft.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.