Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ohri into develop
  • Loading branch information
aman-icap committed Jul 25, 2024
2 parents df2a795 + 5389402 commit 841ad5c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/forms/followup.json
Original file line number Diff line number Diff line change
Expand Up @@ -3759,7 +3759,7 @@
"showDate": ""
},
"hide": {
"hideWhenExpression": "age > 5"
"hideWhenExpression": "age >= 5"
},
"id": "childHeight"
},
Expand Down
8 changes: 7 additions & 1 deletion src/forms/intake-b.json
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,13 @@
"hide": {
"hideWhenExpression": "lifelongARTTI !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
},
"validators": []
"validators": [
{
"type": "js_expression",
"failsWhenExpression": "/^(\\d{4}|\\d{5}|\\d{6}|\\d{7}|\\d{8}|\\d{9})$/.test(myValue)",
"message": "Months on ART should not be more than three digits long"
}
]
},
{
"label": "Still on Treatment",
Expand Down

0 comments on commit 841ad5c

Please sign in to comment.