In message <[EMAIL PROTECTED]>, hariyani sitohang
<[EMAIL PROTECTED]> writes
>i make a from and add an event in the form which is onSubmi. I make this event 
>to make a form validation from javascript function. What i want is , the form 
>doesn't do the action form if the return from onSubmit event is false. i write 
>the code like this <form 
>action="?session=__session__&menu=event_list&uid=__uid_
>_" method="post" onSubmit="return ValidateForm(this);">. why if the return of 
>ValidateForm is false, the form still do the action form?Does the onSubmit 
>event 
>had any mistakes?if it does, what the mistakes are? Thanks for the explanation.

Is your ValidateForm() actually working?  Try adding
alert( 'working' );
on the first line, to check that it actually works

-- 
Pete Clark

Sunny Andalucia
http://www.hotcosta.com/comm_1.htm

Reply via email to