I work it out :-) code that works for me:
<SCRIPT LANGUAGE="JavaScript">
var submitcount=0;
function checkFields()
{
if (submitcount == 0)
{
submitcount++;
return true;
}
else
{
alert("This form has already been submitted. Thanks!");
return false;
}
}
</script>
and...
<html:form action="/someAction" onsubmit="return checkFields()">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

