See here for example: http://www.irt.org/script/155.htm
On 6/27/06, José María Tristán <[EMAIL PROTECTED]> wrote:
Hello:
I use validation of side of client. i have a function on javascript
that is
launch when the user submit the form. This function can to call the
validation functions or no. I put bCancel = true but when function
validateSeguimientoComercialForm(form) is call the submit is launch.
<script language="JavaScript">
bCancel = new Boolean();
function validarText(){
...
bCancel=true;
}
</script>
<html:form
action="/coffeenet/SeguimientoComercial/SeguimientoComercial.do"
onsubmit="return validateSeguimientoComercialForm(this);">
<html:image src="/CoffeeNet/img/p_ejecutar1.gif"
property="submit"
onclick="bCancel=false;validarText();"></html:image>
Thank you very much
---------------------------------------------------------------------
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]