abmp-npm 1.6.3 → 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -505,10 +505,11 @@ async function personalDetailsFormOnReady({
|
|
|
505
505
|
}
|
|
506
506
|
const $saveDataButton = $w(buttonSelector);
|
|
507
507
|
|
|
508
|
-
let isUrlValid = true
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
508
|
+
let isUrlValid = true;
|
|
509
|
+
let isEmailValid = true;
|
|
510
|
+
let isNameValid = true;
|
|
511
|
+
// Use the outer isSlugValid variable (declared at function scope)
|
|
512
|
+
|
|
512
513
|
if (formDataType === FORM_SECTION_HANDLER_MAP.CONTACT_BOOKING.section) {
|
|
513
514
|
isEmailValid = $w('#contactFormEmailInput').valid;
|
|
514
515
|
isUrlValid =
|