From: Anthony Talarico Date: Thu, 23 Mar 2017 17:25:28 +0000 (-0400) Subject: changing submission checking for valet nights in js message X-Git-Tag: v1.0.0^2~66 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a0ec8e4391a540bbd874561fe2e82ab5b0002842;p=WP-Themes%2Fmackinawferry.git changing submission checking for valet nights in js message --- 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; } });