DSACMS / DSACMS/web-form-template

Form: Implement format validation

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
1
Avg merge
2d 2h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
Currently, we need validation for certain formats such as `format:uri` and `format:email`. We would like to offer this functionality as shown in Question 9 and Question 10 in the template.

**Describe the solution you'd like**
Solution may already be offered by USWDS Form.io module, just need to search through the docs. Or if not, we may need to write a custom function in `formDataToJs.js`

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Question 9 and Question 10 examples in the template and the USWDS Form.io documentation for format validation. Then inspect formDataToJs.js to determine where format:uri and format:email are handled. Done means the requested formats are validated and the related template examples behave correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.