Skip to content

Commit

Permalink
registration feedback work (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
shilpa-iplit authored and Ekirapapaul committed Sep 5, 2019
1 parent d865890 commit 106c76b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openmrs/apps/registration/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"searchByIdForwardUrl": "/patient/{{patientUuid}}",
"showMiddleName": true,
"showLastName": true,
"isLastNameMandatory": true,
"isLastNameMandatory": false,
"showSaveConfirmDialog": false,
"showBirthTime": false,
"showCasteSameAsLastNameCheckbox": false,
Expand All @@ -135,7 +135,8 @@
"familyName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
"givenName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
"middleName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
"address1" : {"pattern" : "[a-zA-Z0-9\\s]{2,}", "errorMessage" : "Should contain at least 2 characters"}
"address1" : {"pattern" : "[a-zA-Z0-9\\s]{2,}", "errorMessage" : "Should contain at least 2 characters"},
"MobileNumber" : {"pattern" : "[0-9]{0,10}", "errorMessage" : "Should be 10 digits"}
},
"patientSearch": {
"customAttributes": {
Expand Down

0 comments on commit 106c76b

Please sign in to comment.