mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Website: Update "Talk to us" form redirect (#17465)
Changes: - Updated the "Talk to us" form on the /contact page to redirect users who have <700 hosts to the "Lets get you set up" Calendly event (https://calendly.com/fleetdm/chat)
This commit is contained in:
parent
6b73816548
commit
447baf32d3
6
website/assets/js/pages/contact.page.js
vendored
6
website/assets/js/pages/contact.page.js
vendored
@ -70,7 +70,11 @@ parasails.registerPage('contact', {
|
||||
},
|
||||
submittedTalkToUsForm: async function() {
|
||||
this.syncing = true;
|
||||
window.location = `https://calendly.com/fleetdm/talk-to-us?email=${encodeURIComponent(this.formData.emailAddress)}&name=${this.formData.firstName}+${this.formData.lastName}`;
|
||||
if(this.formData.numberOfHosts > 700){
|
||||
window.location = `https://calendly.com/fleetdm/talk-to-us?email=${encodeURIComponent(this.formData.emailAddress)}&name=${this.formData.firstName}+${this.formData.lastName}`;
|
||||
} else {
|
||||
window.location = `https://calendly.com/fleetdm/chat?email=${encodeURIComponent(this.formData.emailAddress)}&name=${this.formData.firstName}+${this.formData.lastName}`;
|
||||
}
|
||||
},
|
||||
|
||||
clickSwitchForms: function(form) {
|
||||
|
Loading…
Reference in New Issue
Block a user