Skip to content

Commit

Permalink
Merge pull request #651 from bcgov/bugfix/srs-301
Browse files Browse the repository at this point in the history
Bugfix/srs 301 - phone and postal code validations
  • Loading branch information
nikhila-aot authored Mar 25, 2024
2 parents 572e101 + 02bd796 commit 49404ef
Show file tree
Hide file tree
Showing 10 changed files with 3,562 additions and 3,118 deletions.
454 changes: 247 additions & 207 deletions forms-flow-ai/epd-forms/Site Disclosure Statements.json

Large diffs are not rendered by default.

126 changes: 66 additions & 60 deletions forms-flow-ai/epd-forms/Site Information Request Application.json
Original file line number Diff line number Diff line change
Expand Up @@ -2013,86 +2013,92 @@
"offset": 0,
"components": [
{
"id": "eykrnns",
"key": "s1-postalCode",
"case": "",
"mask": false,
"type": "textfield",
"input": true,
"label": "Postal Code",
"hidden": false,
"labelPosition": "top",
"placeholder": "",
"description": "",
"tooltip": "",
"prefix": "",
"suffix": "",
"unique": false,
"widget": {
"type": "input"
},
"dbIndex": false,
"overlay": {
"top": "",
"left": "",
"style": "",
"width": "",
"height": ""
},
"tooltip": "",
"inputMask": "",
"displayMask": "",
"allowMultipleMasks": false,
"customClass": "",
"tabindex": "",
"autocomplete": "",
"hidden": false,
"hideLabel": false,
"showWordCount": false,
"showCharCount": false,
"mask": false,
"autofocus": false,
"spellcheck": true,
"disabled": false,
"tableView": false,
"modalEdit": false,
"multiple": false,
"persistent": true,
"inputFormat": "plain",
"protected": false,
"dbIndex": false,
"case": "",
"truncateMultipleSpaces": false,
"encrypted": false,
"redrawOn": "",
"tabindex": "",
"clearOnHide": true,
"customDefaultValue": "",
"calculateValue": "",
"calculateServer": false,
"allowCalculateOverride": false,
"validateOn": "change",
"validate": {
"custom": "",
"unique": false,
"pattern": "",
"multiple": false,
"required": true,
"maxLength": "",
"minLength": "",
"customMessage": "",
"pattern": "^[A-Za-z]\\d[A-Za-z] ?\\d[A-Za-z]\\d$",
"customMessage": "Please enter a valid postal code",
"custom": "",
"customPrivate": false,
"strictDateValidation": false
"json": "",
"minLength": "",
"maxLength": "",
"strictDateValidation": false,
"multiple": false,
"unique": false
},
"autofocus": false,
"encrypted": false,
"hideLabel": false,
"inputMask": "",
"inputType": "text",
"modalEdit": false,
"protected": false,
"refreshOn": "",
"tableView": false,
"attributes": {},
"unique": false,
"errorLabel": "",
"persistent": true,
"errors": "",
"key": "s1-postalCode",
"tags": [],
"properties": {},
"spellcheck": true,
"validateOn": "change",
"clearOnHide": true,
"conditional": {
"eq": "",
"json": "",
"show": null,
"when": null
"when": null,
"eq": "",
"json": ""
},
"customClass": "",
"description": "",
"inputFormat": "plain",
"placeholder": "",
"defaultValue": "",
"dataGridLabel": false,
"labelPosition": "top",
"showCharCount": false,
"showWordCount": false,
"calculateValue": "",
"calculateServer": false,
"customConditional": "",
"allowMultipleMasks": false,
"customDefaultValue": "",
"logic": [],
"attributes": {},
"overlay": {
"style": "",
"page": "",
"left": "",
"top": "",
"width": "",
"height": ""
},
"type": "textfield",
"input": true,
"hideOnChildrenHidden": false,
"allowCalculateOverride": false,
"refreshOn": "",
"dataGridLabel": false,
"addons": [],
"displayMask": "",
"truncateMultipleSpaces": false
"inputType": "text",
"id": "e54zyw8",
"defaultValue": ""
}
],
"currentWidth": 4
Expand Down Expand Up @@ -5900,7 +5906,7 @@
"attributes": {},
"components": [
{
"id": "ecmzjdn0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "ecmzjdn000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "panel",
"tree": false,
"type": "panel",
Expand Down
Loading

0 comments on commit 49404ef

Please sign in to comment.