Menu
Right now when a user skips a mandatory field, I return their cursor to the required field. I WANT TO INCLUDE a Background color to the field in focus so it stands out better. This will greatly help our person who has vision loss due to macular degeneration. Can anyone help?
Here’s my error checking code to return the cursor to the missed field.
if (theForm.FirstName.value == “”)
{
alert(“Please enter a value for the “FirstName” field.”);
theForm.FirstName.focus();
return (false);
}
Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!