From a0ec8e4391a540bbd874561fe2e82ab5b0002842 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 23 Mar 2017 13:25:28 -0400 Subject: [PATCH] changing submission checking for valet nights in js message --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 96171c5..168b63d 100644 --- a/js/app.js +++ b/js/app.js @@ -138,7 +138,7 @@ $(document).ready(function () { }); submit_form.submit(function(){ if($('.valet-nights').val() === '' && $('#valetCount').val() !== '0'){ - alert("enter number of nights"); + alert("Please enter the number of nights"); return false; } }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 3fb3423..db76632 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -127,7 +127,7 @@ $(document).ready(function () { }); submit_form.submit(function(){ if($('.valet-nights').val() === '' && $('#valetCount').val() !== '0'){ - alert("enter number of nights"); + alert("Please enter the number of nights"); return false; } }); -- 2.17.1