-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathform_submit.js
33 lines (31 loc) · 1.44 KB
/
form_submit.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
whvutil.autoLoad(function(){
var payBtn = document.getElementById("ctl00_ContentPlaceHolder1_payAnchor");
if(payBtn){
whvutil.fireEvent(payBtn, 'click');
}else{
var c1 = document.getElementById("ctl00_ContentPlaceHolder1_falseStatementCheckBox");
var c2 = document.getElementById("ctl00_ContentPlaceHolder1_notesCheckBox");
var c3 = document.getElementById("ctl00_ContentPlaceHolder1_circumstancesCheckBox");
var c4 = document.getElementById("ctl00_ContentPlaceHolder1_warrantsCheckBox");
var c5 = document.getElementById("ctl00_ContentPlaceHolder1_informationCheckBox");
var c6 = document.getElementById("ctl00_ContentPlaceHolder1_healthCheckBox");
var c7 = document.getElementById("ctl00_ContentPlaceHolder1_adviceCheckBox");
var c8 = document.getElementById("ctl00_ContentPlaceHolder1_registrationCheckBox");
var c9 = document.getElementById("ctl00_ContentPlaceHolder1_entitlementCheckbox");
var c10 = document.getElementById("ctl00_ContentPlaceHolder1_permitExpiryCheckBox");
var c11 = document.getElementById("ctl00_ContentPlaceHolder1_medicalInsuranceCheckBox");
c1.checked = true;
c2.checked = true;
c3.checked = true;
c4.checked = true;
c5.checked = true;
c6.checked = true;
c7.checked = true;
c8.checked = true;
c9.checked = true;
c10.checked = true;
c11.checked = true;
var submitButton = document.getElementById("ctl00_ContentPlaceHolder1_submitImageButton");
whvutil.fireEvent(submitButton, 'click');
}
});