-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
105 lines (91 loc) · 4.32 KB
/
signup.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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Sf-web2leads by walvekarnikhil</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
<!-- Bootstrap core CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
</head>
<body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-39988348-4', 'auto');
ga('send', 'pageview');
function getCookie(cname) {
var name = cname + "=";
var cookies = document.cookie.split(';');
for(var i=0; i<cookies.length; i++) {
var ck = cookies[i];
while (ck.charAt(0)==' ') ck = ck.substring(1);
if (ck.indexOf(name) == 0) return ck.substring(name.length,ck.length);
}
return "";
}
$(document).ready(function(){
$('#tracking_id').val(getCookie('s_fid'));
$('#oid').val('00D37000000PoDE');
$('#retURL').val('index.html?thankyou');
});
</script>
<section class="page-header">
<h1 class="project-name">Sf-web2leads</h1>
</section>
<section class="main-content">
<div>
<h2>Are you interested to know about near by deals?</h2>
<form class="form-horizontal" xmlns="http://www.w3.org/1999/xhtml" action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
<input name="analyticsId" type="hidden" id="analyticsId"/>
<input name="oid" type="hidden" value="00D37000000PoDE" />
<input name="retURL" type="hidden" value="http://walvekarnikhil.github.io/SF-Web2Leads/thankyou.html" />
<div class="form-group">
<label class="col-sm-2 control-label" for="first_name">First Name</label>
<div class="col-sm-10">
<input id="first_name" class="form-control" maxlength="40" name="first_name" size="20" type="text" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="last_name">Last Name</label>
<div class="col-sm-10">
<input id="last_name" class="form-control" maxlength="80" name="last_name" size="20" type="text" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="email">Email</label>
<div class="col-sm-10">
<input id="email" class="form-control" maxlength="80" name="email" size="20" type="text" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="company">Company</label>
<div class="col-sm-10">
<input id="company" class="form-control" maxlength="40" name="company" size="20" type="text" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="city">City</label>
<div class="col-sm-10">
<input id="city" class="form-control" maxlength="40" name="city" size="20" type="text" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="state">State/Province</label>
<div class="col-sm-10">
<input id="state" class="form-control" maxlength="20" name="state" size="20" type="text
" />
</div>
</div>
<button name="submit" class="btn btn-success" type="submit">Update me</button>
</form>
</div>
</section>
</body>
</html>