From looking at the in the output it appears that the informal
parameters are not being rendered on my form tag? any ideas?
Peter Stavrinides wrote:
I want to run some custom JavaScript validation functions before the
submit listener is called, something like this:
<script>
function validateForm(obj){
//checks go here
return false;
} </script>
<form jwcid="[EMAIL PROTECTED]" onSubmit="return validateForm(this)"
delegate="ognl:beans.errorLog"
listener="listener:formSubmit" clientValidationEnabled=true>
</form>
If validateForm returns false I don't want to submit, but the listener
method 'formSubmit' always seems to be called regardless, I am sure
this is very trivial but I just can't find it.
Thanks in advance,
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]