You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by joe lul <gr...@yahoo.com> on 2002/09/11 17:20:50 UTC
Problem with muiltpage form and validation framework
First, thanks David Winterfeldt for the validation
package!
I have two one page jsp forms. The actions are using
(declarative) DynaValidatorForm. I'm using no
javascript (like in David's example)
First page starts:
<html:form action="signup" focus="firstName">
<html:hidden property="page" value="1"/>
Second page form starts:
<html:form action="signup" focus="parentFirstName">
<html:hidden property="page" value="2"/>
validation.xml entries look like this:
<field property="firstName"
depends="required,mask"
page="1">
With the page="1" in the xml file, validation just
doesn't happen. If I take page="1" out, it does (but
I can't control which fields are validated of course).
Thanks for your help,
S
__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>