Hi all,
 
In my JSP page, I defined a html:form like this.
 
<html:form action="/CagriAcma.do" enctype="multipart/form-data" 
onsubmit="return validateCagriAcmaFormu(this)"  >
 ........
.......
<html:submit property="kayit" styleClass="buton" value="KAYDET" />
</html:form>      
 
It works fine and does client-side validation truly.
 
But when I used to html:button instead of  html:submit, it gives an error.
 
<html:form action="/CagriAcma.do" enctype="multipart/form-data" >
 ........
.......
<html:submit property="kayit" styleClass="buton" value="KAYDET" onclick="return 
validateCagriAcmaFormu(this)" />
</html:form>  
 
Using a html:button tag, how can I do validation with "return validate" or 
whatelse?
 
 
Erol

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to