if (quantBLT1122.value > 130) {
document.getElementById("quantBLT1122").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 130 for The Famous Peter’s Inn BLTS!")
document.getElementById("quantBLT1122").focus();
testresults=false
return (testresults)
}
if (quantBLTA1122.value > 110) {
document.getElementById("quantBLTA1122").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 110 for The Famous Peter’s Inn BLTS!")
document.getElementById("quantBLTA1122").focus();
testresults=false
return (testresults)
}
if (quantBLMARY1122.value > 86) {
document.getElementById("quantBLMARY1122").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 86 for Bloody Mary!")
document.getElementById("quantBLMARY1122").focus();
testresults=false
return (testresults)
}
if (quantFFs.value > 95) {
document.getElementById("quantFFs").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 95 for French Fries!")
document.getElementById("quantFFs").focus();
testresults=false
return (testresults)
}
if (quantCarrotMim.value > 99) {
document.getElementById("quantCarrotMim").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 99 for Carrot Mimose!")
document.getElementById("quantCarrotMim").focus();
testresults=false
return (testresults)
}
// This prevents the Submit button from submitting its associated form.
// Instead, clicking the Submit button should tell the SqPaymentForm to generate
// a card nonce, which the next line does.
event.preventDefault();
Peters Inn Presents - Sunday May 1st BLTs
When? Pickup Starting 10:30am Until 1pm
Peters Inn Order Online is currently closed. Please check with us tomorrow to fill your order. Thanks!
|
|