Have you tried form onsubmit instead on button onclick?

Obrigado,
 
David Pinho
DAN/DIS

-----Original Message-----
From: Sheetal Gupta [mailto:[EMAIL PROTECTED] 
Sent: segunda-feira, 11 de Setembro de 2006 10:25
To: Struts Users Mailing List
Subject: Hi Need help .. on javascript & validation framework when used
together

Hi,
I have a scenarion in which I have put a check  (validation),
that  a radio  butoon must be selected, beforea form gets submit.
THis I have done using  validation.xml.

Now i  have another requirement,
that before pressing submit,
a confiramtion dialog  box should be shown...
for which I have written a java script which is called on 
click of submit button....

But the problem is that  on clicking if submit button,
it first shows the confirmation dialog  box
and then the check that command should be 
selected...
Does anybody has any idea..
Regards,
Sheetal 


AVISO

Esta mensagem e quaisquer anexos seus podem conter informacao confidencial para 
uso exclusivo do destinatario. Cabe ao destinatario assegurar a verificacao de 
virus e outras medidas que assegurem que esta mensagem nao afecta os seus 
sistemas. Se nao for o destinatario, nao devera usar, distribuir ou copiar este 
e-mail, devendo proceder a sua eliminacao e informar o emissor. E estritamente 
proibido o uso, a distribuicao, a copia ou qualquer forma de disseminacao nao 
autorizada deste e-mail e seus anexos. Obrigado.

DISCLAIMER
This e-mail and its attachments may contain confidential information for 
exclusive use of its recipient. It is your responsibility to carry out 
appropriate virus and other checks to ensure that this message and any 
attachments do not affect your systems / data. If you are not the intended 
recipient you must not use, distribute or reproduce this e-mail and you must 
notify the sender and delete the entire email. Any unauthorized use, 
dissemination, distribution or copying of this message and its attachments is 
strictly prohibited. Thank You.

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

Reply via email to