Skip to content

Commit

Permalink
Validation of CCC field to accept only numbers (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckote authored Oct 11, 2023
1 parent 6039257 commit 16e35cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/ampathforms/PrEP_Initial.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"validators": [
{
"type": "js_expression",
"failsWhenExpression": "doesNotMatchExpression('^\\\\\\d{10}$', uniquePatientNumber)",
"failsWhenExpression": "doesNotMatchExpression('^\\\\\\d{10}$', pArtnersCcc)",
"message": "Please provide the correct format for the UPN ie. mflCode+number eg.1190200062"
}
]
Expand Down

0 comments on commit 16e35cb

Please sign in to comment.