Re: How I can cancel a submit to use validation?

2006-06-27 Thread Michael Jouravlev

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.


bCancel = new Boolean();
function validarText(){
...
bCancel=true;
}






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]



How I can cancel a submit to use validation?

2006-06-27 Thread José María Tristán
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.


bCancel = new Boolean();
function validarText(){
...
bCancel=true;
}






Thank you very much





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]