-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWeb-to-Lead.html
192 lines (174 loc) · 4.87 KB
/
Web-to-Lead.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!-- ---------------------------------------------------------------------- -->
<!-- NOTE: Please add the following <META> element to your page <HEAD>. -->
<!-- If necessary, please modify the charset parameter to specify the -->
<!-- character set of your HTML page. -->
<!-- ---------------------------------------------------------------------- -->
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">
<head>
<script type="text/javascript">
window.onload = function() {
document.body.onclick = function() {
console.log('clicked!')
};
};
</script>
<style type="text/css">
.container {
width: 75%;
margin-left: auto;
margin-right: auto;
}
body{
font-family:arial;
margin:0px;
padding:0px;
margin-left: 10px;
}
table{
font-size: 10pt;
margin-left: 10 pt;
border: none;
border-collapse:collapse
}
tr:nth-child(even) {
background-color: #eee;
}
tr{
line-height: 45px;
}
td{
padding-left: 10px;
}
input{
border-collapse: collapse;
}
.title{
font-size: 14px;
font-weight: bold;
}
input[type=submit] {
margin: 10px;
padding:5px 15px;
background:#ccc;
border:0 none;
cursor:pointer;
/* -webkit-border-radius: 5px;
border-radius: 5px; */
font-size: 10pt;
color: black;
font-weight: bold;
}
input[type=submit]:hover {
margin: 10px;
padding:5px 15px;
background:white;
border:0 none;
cursor:pointer;
/* -webkit-border-radius: 5px;
border-radius: 5px; */
font-size: 10pt;
color: black;
font-weight: bold;
}
input[type=text] {
padding:5px;
border:1px solid #ccc;
/*-webkit-border-radius: 5px;
border-radius: 5px;*/
width: 80%;
}
input[type=text]:focus {
border-color:#333;
}
</style>
</head>
<!-- ---------------------------------------------------------------------- -->
<!-- NOTE: Please add the following <FORM> element to your page. -->
<!-- ---------------------------------------------------------------------- -->
<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
<input type=hidden name="oid" value="00D7F0000001ITU">
<input type=hidden name="retURL" value="http://">
<input type=hidden name="lead_source" value="Web">
<!-- ---------------------------------------------------------------------- -->
<!-- NOTE: These fields are optional debugging elements. Please uncomment -->
<!-- these lines if you wish to test in debug mode. -->
<!-- <input type="hidden" name="debug" value=1> -->
<!-- <input type="hidden" name="debugEmail" -->
<!-- value="[email protected]"> -->
<!-- ---------------------------------------------------------------------- -->
<body >
<div class="container">
<table >
<tr height="50px" >
<td colspan="2" style="vertical-align:middle;">
<div class="title">EVENT REGISTRATION</div>
</td>
</tr>
<tr>
<td>
<label for="Campaign_ID">Conference</label>
</td>
<td>
<select id="Campaign_ID" name="Campaign_ID">
<option value="">--None--</option>
<option value="7017F0000000ePT">AJAX Conference 2017</option>
<option value="7017F0000000ePd">JAVA Show 2017</option>
</select><br>
</td>
</tr>
<tr>
<td width=200px>
<label for="first_name">First Name</label>
</td>
<td width=300px>
<input id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>
</td>
</tr>
<tr>
<td>
<label for="last_name">Last Name</label>
</td>
<td>
<input id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>
</td>
</tr>
<tr>
<td>
<label for="email">Email</label>
</td>
<td>
<input id="email" maxlength="80" name="email" size="20" type="text" /><br>
</td>
</tr>
<tr>
<td>
<label for="company">Company</label>
</td>
<td>
<input id="company" maxlength="40" name="company" size="20" type="text" /><br>
</td>
</tr>
<tr>
<td>
<label for="city">City</label>
</td>
<td>
<input id="city" maxlength="40" name="city" size="20" type="text" /><br>
</td>
</tr>
<tr>
<td>
<label for="state">State/Province</label>
</td>
<td>
<input id="state" maxlength="20" name="state" size="20" type="text" /><br>
</td>
</tr>
<tr style="background-color: white;">
<td style="padding-left: 0px;padding-top: 10px;"><input type="submit" name="submit" value="SUBMIT"></td>
<td></td>
</tr>
</table>
</form>
</div>
</body>