View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
If closing the </FORM> doesn't do the trick, you could try removing the onSubmit="return validate()" from the <FORM ...> line and adding onClick="return validate();" to the <INPUT type="submit" ...> line.
 
John
 
Sent by Gary Wood on 10/08/2002 08:41:30 PM:
The following is included in the main.FWX file:
 
In the HEAD section:
 
<script language="JavaScript">
<!--
function validate() {
    alert("Inside the validate function now") 
    return false
}
// -->
</script>
<form name="thisF" method="POST" action="main.fwx" onSubmit="return validate()">
<input type="submit" name="savetimesheet" value="  Save Timesheet  ">
When the Save Timesheet button is pressed the validate() function is not called.
 
thx..........gary