<script
language="javascript"
type="text/javascript">
function
noEntry()
{
mt=document.form.entry.value;
if
((mt.length<1)||(mt.substring(0,6)=="******"))
{
alert("I'm
sorry. This entry must be "
+"completed
before I can submit this form"
+"
for processing.");
document.form.entry.value="******Please
Complete This Entry";
document.form.entry.focus();
document.form.entry.select();
return
false;
}
else
{
return
true;
}
}
</SCRIPT>
Change the form's ACTION in this script
to point to your Form Mail CGI-Script.
<BR>
<form
name="form"
action="/cgi-bin/your-form-processor.pl"
onsubmit="return
noEntry()">
<input
type="text"
name="entry"
size=40><br>
<input
type="submit"
name="button"
value="submit">
</form>