if (quantTrPate.value > 20) {
document.getElementById("quantTrPate").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 20 for Trout Pate!")
document.getElementById("quantTrPate").focus();
testresults=false
return (testresults)
}
if (quantStuffn.value > 20) {
document.getElementById("quantStuffn").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 20 for Sausage Oyster Stuffing!")
document.getElementById("quantStuffn").focus();
testresults=false
return (testresults)
}
if (quantTkGvy.value > 10) {
document.getElementById("quantTkGvy").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 10 for Savory Gravy!")
document.getElementById("quantTkGvy").focus();
testresults=false
return (testresults)
}
if (quantCheddar.value > 20) {
document.getElementById("quantCheddar").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 20 for Night Walker Cheddar!")
document.getElementById("quantCheddar").focus();
testresults=false
return (testresults)
}
if (quantGarlicSprd.value > 100) {
document.getElementById("quantGarlicSprd").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 100 for Garlic Spread!")
document.getElementById("quantGarlicSprd").focus();
testresults=false
return (testresults)
}
if (quantMaranto.value > 100) {
document.getElementById("quantMaranto").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 100 for Garlic Spread!")
document.getElementById("quantMaranto").focus();
testresults=false
return (testresults)
}
if (quantTribeca.value > 100) {
document.getElementById("quantTribeca").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 100 for Garlic Spread!")
document.getElementById("quantTribeca").focus();
testresults=false
return (testresults)
}
if (quantLambRack.value > 20) {
document.getElementById("quantLambRack").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 20 for Rack of Lamb!")
document.getElementById("quantLambRack").focus();
testresults=false
return (testresults)
}
if (quantPrimeRibHf.value > 15) {
document.getElementById("quantPrimeRibHf").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 15 for Prime Rib!")
document.getElementById("quantPrimeRibHf").focus();
testresults=false
return (testresults)
}
if (quantPrimeRibWh.value > 10) {
document.getElementById("quantPrimeRibWh").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 10 for Prime Rib!")
document.getElementById("quantPrimeRibWh").focus();
testresults=false
return (testresults)
}
if (quantBacon.value > 10) {
document.getElementById("quantBacon").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 10 for Nueskes Bacon!")
document.getElementById("quantBacon").focus();
testresults=false
return (testresults)
}
if (quantEggnog.value > 20) {
document.getElementById("quantEggnog").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 20 for Boozy Eggnog!")
document.getElementById("quantEggnog").focus();
testresults=false
return (testresults)
}
if (quantBubbles.value > 10) {
document.getElementById("quantBubbles").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 10 for Wine 3 Packs!")
document.getElementById("quantBubbles").focus();
testresults=false
return (testresults)
}
if (quantRedPac.value > 10) {
document.getElementById("quantRedPac").style.background = "pink";
event.preventDefault();
alert("Please enter no more than 10 for Wine 3 Packs!")
document.getElementById("quantRedPac").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 - Holiday Eats To Go! Orders must be in by Tues, Dec 22nd by 10am.
When? Pickup Starting From 1pm - 8pm Pickup by Wed Dec 23
Peters Inn Order Online is currently closed. Please check with us tomorrow to fill your order. Thanks!
|
|