Skip to content

Commit

Permalink
Relaxed mandatory issues on the NHIF number (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckote authored Sep 7, 2023
1 parent 2708501 commit e8a81a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/ampathforms/PrEP_INITIATION.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@
"validators": [
{
"type": "js_expression",
"failsWhenExpression": "doesNotMatchExpression('^\\\\d+$', nhifNumber)",
"failsWhenExpression": "!isEmpty(myValue) && doesNotMatchExpression('^\\\\d+$', nhifNumber)",
"message": "NHIF number should contain digits only e.g.10829202"

}
Expand Down

0 comments on commit e8a81a4

Please sign in to comment.