Add field validation
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
The issue names no files, tests, or entry points; start by locating where the ingested JSON schema is turned into Form.io components. Done means the schema's uri format and stated if-then conditions are represented in the generated form, including the listed fields.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
As part of validating user's responses, we would like to add field validation indicated in the property's JSON schema.
Describe the solution you'd like
We are able to validate for "urls". This is indicated using the format: uri. We would also like to support condition validation as denoted in the JSON schema through if-then keywords. Form.io already provides this functionality so it is just a matter of configuring the Form.io components based on the ingested schema.
Describe alternatives you've considered
We could write separate functions that perform validation upon form submission, however Form.io already provides this functionality out of the box.
Additional context
Helpful for fields such as repositoryURL, usageType & exemptionText, maintenance and contractNumber
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DSACMS/codejson-generator
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
DSACMS/codejson-generator#96 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
DSACMS/codejson-generator#93 ·
-
code-gov
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DSACMS/codejson-generator#50 ·
-
code-gov
Difficulty 5/5 Over a week Newbie friendliness 35/100
DSACMS/codejson-generator#49 ·
All issues in DSACMS/codejson-generator
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·