Hello-
What can I add to this to tell the script to highlight the input box in a different color? So it will alert them and change the color of the input box to red if not filled out?
if (theForm.pr_ny_estimate.value.length < 1)
{
alert("Please enter at least 1 characters in the \"Janitor NY Estimate\" field.");
theForm.pr_ny_estimate.focus();
return (false);
}
What can I add to this to tell the script to highlight the input box in a different color? So it will alert them and change the color of the input box to red if not filled out?
if (theForm.pr_ny_estimate.value.length < 1)
{
alert("Please enter at least 1 characters in the \"Janitor NY Estimate\" field.");
theForm.pr_ny_estimate.focus();
return (false);
}