From 4caa05d131c8c107c726fb7b7d565848262748bb Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 6 Oct 2023 18:16:09 -0500 Subject: [PATCH] Website: Update license dispenser signup form (#14368) Closes: #14011 Changes: - Updated the license dispenser signup form on fleetdm.com/customers/signup to allow users to try to resubmit the form without resetting the form fields. --- website/assets/js/pages/entrance/signup.page.js | 3 +-- website/views/pages/entrance/signup.ejs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/website/assets/js/pages/entrance/signup.page.js b/website/assets/js/pages/entrance/signup.page.js index 2c042f46ef..3416a088f4 100644 --- a/website/assets/js/pages/entrance/signup.page.js +++ b/website/assets/js/pages/entrance/signup.page.js @@ -41,9 +41,8 @@ parasails.registerPage('signup', { // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { - clickClearFormFields: async function() { + clickResetForm: async function() { this.cloudError = ''; - this.formData = {}; this.formErrors = {}; this.showFullForm = true; await this.forceRender(); diff --git a/website/views/pages/entrance/signup.ejs b/website/views/pages/entrance/signup.ejs index 7a6841f989..15a03dc0ba 100644 --- a/website/views/pages/entrance/signup.ejs +++ b/website/views/pages/entrance/signup.ejs @@ -48,7 +48,7 @@

By signing up you agree to our privacy policy and terms of service.

Agree and continue - Reset form and try again + Try again