Skip to content

Commit

Permalink
Phone format is required to be nnn-nnn-nnnn. Added match/replace opti…
Browse files Browse the repository at this point in the history
  • Loading branch information
biwashingtonial committed Sep 1, 2015
1 parent 8b5594c commit 45b40de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion members/H001061.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ 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
options:
match: "([0-9]{3})([0-9]{3})([0-9]{4})"
replace: "$1-$2-$3"
- name: field_4a2966d5-e9ea-4195-b486-b5d3d04d185a
selector: "#field_4a2966d5-e9ea-4195-b486-b5d3d04d185a"
value: "$EMAIL"
Expand Down

0 comments on commit 45b40de

Please sign in to comment.