Ugh... you need some form of validation. You could javascript to do it.
I'm not really familiar with it so I can't really help you with it... Maybe you someone else here can help you with that.
Probably right under my nose but how do I get my form to be fully completed before it can be sent?
Ugh... you need some form of validation. You could javascript to do it.
I'm not really familiar with it so I can't really help you with it... Maybe you someone else here can help you with that.
"Don't go knocking on death's door, ring the doorbell and run away, that really makes Death angry"
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).
Bookmarks