Permalink
Fetching contributors…
Cannot retrieve contributors at this time
157 lines (156 sloc) 3.6 KB
bioguide: J000295
contact_form:
method: post
action: /email-me/
steps:
- visit: "https://joyce.house.gov/email-me"
- fill_in:
- name: firstname
selector: "#req_firstname"
value: $NAME_FIRST
required: true
- name: lastname
selector: "#req_lastname"
value: $NAME_LAST
required: true
- name: street
selector: "#req_street"
value: $ADDRESS_STREET
required: true
- name: street2
selector: "#address2"
value: $ADDRESS_STREET_2
required: false
- name: city
selector: "#req_city"
value: $ADDRESS_CITY
required: true
- name: zipcode
selector: "#req_zip"
value: $ADDRESS_ZIP5
required: true
- name: emailaddress
selector: "#req_email"
value: $EMAIL
required: true
- name: phone
selector: "#phone"
value: $PHONE
required: false
- name: message
selector: "#req_message"
value: $MESSAGE
required: true
- select:
- name: prefix
selector: "#prefix"
value: $NAME_PREFIX
required: true
options:
Mr.: "Mr. "
Mrs.: Mrs.
Ms.: Ms.
Miss: Miss
Dr.: Dr.
Hon.: Hon.
Rev.: Rev.
Rabbi: Rabbi
Other: Other
- name: state
selector: "#req_state"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
options:
- AK
- AL
- AR
- AZ
- CA
- CO
- CT
- DC
- DE
- FL
- GA
- HI
- IA
- ID
- IL
- IN
- KS
- KY
- LA
- MA
- MD
- ME
- MI
- MN
- MO
- MS
- MT
- NC
- ND
- NE
- NH
- NJ
- NM
- NV
- NY
- OH
- OK
- OR
- PA
- PR
- RI
- SC
- SD
- TS
- TX
- UT
- VA
- VT
- WA
- WI
- WV
- WY
- name: issue
selector: "#req_issue"
value: $TOPIC
required: true
options:
Agriculture: AGRI
Budget: BUD
Defense: DEF
Education: EDU
Energy: ENR
Environmental: ENV
Foreign Affairs: FAFF
Government Issues: GOV
Health: HLTH
Homeland Security: HOM
Immigration: IMM
International Relations: INT
Judicial: JUD
Labor: LAB
Second Amendment: GUN
Social Security: SOC
Taxes: TAX
Telecommunications: TELE
Tours: TOUR
Transportation: TRANS
Trade: TRD
Veterans: VET
Welfare: WEL
Other Issues: OTH
- javascript:
- value: document.querySelector("#req_message").value = document.querySelector("#req_message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email
selector: "#submitButton"
success:
headers:
status: 200
body:
contains: THANK YOU