mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +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
1 changed files with 5 additions and 1 deletions
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 a new issue