Skip to content

Commit

Permalink
add validation for child birthdate: cannot be a future date
Browse files Browse the repository at this point in the history
  • Loading branch information
becky-gilbert committed Apr 1, 2024
1 parent a69de96 commit c227f3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/surveys/src/survey.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"description": "We ask again just to check for typos during registration or accidental selection of a different child at the start of the study.",
"inputType": "date",
"isRequired": true,
"maxValueExpression": "today()",
"name": "birthDate",
"title": "Please confirm your child's birthdate.",
"type": "text"
Expand Down

0 comments on commit c227f3f

Please sign in to comment.