The <html:javascript> tag dynamically generates the function for you - you should find that somewhere on the JSP page.
http://struts.apache.org/userGuide/struts-html.html#javascript Niall ----- Original Message ----- From: "Jonathan M Z" <[EMAIL PROTECTED]> Sent: Tuesday, February 15, 2005 11:55 PM > Hi folks, > I am trying to understand struts validation from some > example code, it has something like this: > > <html:form onsubmit="return validateSigninForm(this)" > action="signin" method="post"> > > validateSigninForm is a javascript validation. I > looked up in validation.xml and validator-rules, > neither this javascript function nor anything contain > the word "signin" is to be found, so how does struts > do its magic clientside validation? (the jsp itself > obviously does not have this javasription function > either. > thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]