Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
bioguide: M001158
contact_form:
method: post
action: "/contact/#gf_1"
steps:
- visit: "https://marchant.house.gov/contact/"
- javascript:
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
- fill_in:
- name: input_6
selector: "#input_1_6"
value: $ADDRESS_ZIP5
required: true
- click_on:
- value: Next
selector: "#gform_next_button_1_7"
- find:
- selector: "#input_1_16_3"
- javascript:
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
- fill_in:
- name: input_16.3
selector: "#input_1_16_3"
value: $NAME_FIRST
required: true
- name: input_16.6
selector: "#input_1_16_6"
value: $NAME_LAST
required: true
- name: input_15.1
selector: "#input_1_15_1"
value: $ADDRESS_STREET
required: true
- name: input_15.3
selector: "#input_1_15_3"
value: $ADDRESS_CITY
required: true
- name: input_3
selector: "#input_1_3"
value: $EMAIL
required: true
- name: input_4
selector: "#input_1_4"
value: $PHONE
required: true
- name: input_5
selector: "#input_1_5"
value: $MESSAGE
required: true
options:
max_length: 5000
- select:
- name: input_16.2
selector: "#input_1_16_2"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Ms.
- Mrs.
- Miss
- Dr.
- name: input_17
selector: "#input_1_17"
value: $TOPIC
required: true
options:
Abortion: ABORTION
Agriculture: AG
Animals: ANIMALS
Aviation and Planes: AVIATION
Budget: BUD
Casework: CASE
Child Welfare: CHILD
Consumer Product Safety: CONSUMER
Credit and Personal Finance: CRED
Defense and Military: DEF
Disease and Genetics: DISEA
Drugs and Pharmaceuticals: DRUG
Economy: ECON
Education: ED
Energy: EN
Environment: ENV
Flag Requests: FLAG
Foreign Affairs: FOR
Government Affairs: GOV
Guns: GUN
Health: HHEA
Homeland Security: HOME.SEC
Housing: HOU
Immigration: IMM
Infrastructure: INFRA
Judiciary: JUD
Labor: LAB
Medicare: MED
Mental Health: MENT
Miscellaneous: MISC
Religion: REL
Retirement: RET
Science and Technology: SCI
Seniors and Aging Issues: SENIOR
Social Issues: SOC
Social Security: SS
Taxes: TAX
Telecommunications: TELECOM
Terrorism Issues: TERROR
Tour Requests: TOURS
Trade: TRADE
Transportation: TRAN
Veterans Affairs: VET
War in Iraq: IRAQ
Women’s Health: WOMHEA
Other: GEN
- javascript:
- value: document.querySelector("#input_1_5").value = document.querySelector("#input_1_5").value.replace(/"/g, '');
- javascript:
- value: document.querySelector("#input_1_16_4").value = "N/A";
- javascript:
- value: document.getElementById("gform_submit_button_1").disabled = false;
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#gform_submit_button_1"
- find:
- value: "EMAIL CONFIRMATION"
selector: "h1"
success:
headers:
status: 200
body:
contains: Thank you