Skip to content

Commit

Permalink
Merge pull request #1472 from biwashingtonial/H001061-phone-format-fix
Browse files Browse the repository at this point in the history
Phone format is required to be nnn-nnn-nnnn.
  • Loading branch information
j-ro committed Nov 19, 2015
2 parents f420f13 + 9f10399 commit 874fed1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion members/H001061.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ contact_form:
required: Yes
- name: field_62cac646-c6c0-4b48-8637-86b77d2c9700
selector: "#field_62cac646-c6c0-4b48-8637-86b77d2c9700"
value: "$PHONE_PARENTHESES"
value: "$PHONE"
required: true
- name: field_4a2966d5-e9ea-4195-b486-b5d3d04d185a
selector: "#field_4a2966d5-e9ea-4195-b486-b5d3d04d185a"
Expand All @@ -40,6 +40,8 @@ contact_form:
selector: "#field_55b09216-2b91-470f-af68-ae9d197787b0"
value: "$MESSAGE"
required: Yes
- javascript:
- value: "document.getElementById('field_62cac646-c6c0-4b48-8637-86b77d2c9700').value = document.getElementById('field_62cac646-c6c0-4b48-8637-86b77d2c9700').value.replace(/([0-9]{3})([0-9]{3})([0-9]{4})/, '$1-$2-$3');"
- select:
- name: field_89f02d5d-f5d9-46e9-880e-bb15e9254713
selector: "#field_89f02d5d-f5d9-46e9-880e-bb15e9254713"
Expand Down

0 comments on commit 874fed1

Please sign in to comment.