View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
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.
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
// -->
<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.