Hi,
Trying to get the following function to
-run validation func
-if false dont do anything
-if true set x_action to 'A'
-submit the form
my function looks like
at the moment the validation works fine - but after
the validation is correct the other parts are not run.
the onclick event is an image
Trying to get the following function to
-run validation func
-if false dont do anything
-if true set x_action to 'A'
-submit the form
my function looks like
Code:
<script type="text/javascript">
function fzeventaddsend(){
return ew_ValidateForm(fzeventadd);
document.fzeventadd.x_action.value='A';
document.fzeventadd.submit();
}
</script>
the validation is correct the other parts are not run.
the onclick event is an image
Code:
<input type="image" src="images/nextbut.gif" name="btnAction" id="btnAction" onClick="fzeventaddsend();">