Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers!
/Peo, FreeWebSpace.net
Most people would do serverside checking for security reasons, but if you insist on client side (before you submit), here is an example of the javascript:
if (theForm.some_element.length < 1)
{
alert("You forgot the some_element field.");
theForm.some_element.focus();
return (false);
}
This will warn the reader and bring him back to the element (bring it into focus).