-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppointment_page_2.html
33 lines (33 loc) · 1.02 KB
/
Appointment_page_2.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
<html>
<head>
<script src="https://api.glia.com/salemove_integration.js"></script>
<title>Cortex Financial Appointments</title>
</head>
<h1><span>Cortex Financial Appointment Page</span></h1>
<p>Welcome to your appointment at Cortex Financial, a representative will be with you momentairly.</p>
<body>
<script>
var FormName = localStorage.getItem("apptname");
var FormEmail = localStorage.getItem("apptemail");
var FormPhone = localStorage.getItem("apptphone");
console.log("Name:" + FormName);
console.log("Email:" + FormEmail);
console.log("Phone:" + FormPhone);
</script>
<script>
sm.getApi({version: 'v1'}).then(function(glia){
glia.updateInformation({
name: FormName,
email: FormEmail,
phone: FormPhone,
customAttributes: {
ScheduledAppointment:'YES'
}
}).then(function(){
}).catch(function(error){
});
});
</script>
<button onclick="history.back()">Go Back</button>
</body>
</html>