Validation for Notes field
- Dominant language
- TypeScript
- Stars
- 38
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Currently if we add any validation (required/constraint) to "Notes" field then it becomes impossible to submit the Form.
For example:
```
A readonly integer
```
### Questions:
1- Should engine restrict having readonly fields without any calculations and without any relevance to have required/constraint?
2- Should we show asterisk on the "required notes" field? Currently this happens on UI
From https://github.com/getodk/web-forms/pull/181:
> I'm not sure I'd necessarily want to see tests for this, but I will also say that it would be good for us to test somewhere in the stack some expectations around "weird forms". In this case, some areas I think about are where notes intersect with validation.
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by reproducing the readonly integer form with required and constraint validation, then trace submission blocking and the required-field asterisk in the validation and UI paths. Done means the expected behavior for these fields is decided and covered for both submission and display.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, xml
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100