You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Patrick Cheng <pa...@hq.oneport.com> on 2004/02/19 04:39:52 UTC

Validation

Hi all,
 
My question is... if my form has a collection of fields called storing
multiple email, dynamically added by javascript, how would i define it
in validation.xml in a general way, so that it can accomodate any number
of email addresses? 
That is,
i probably have hidden fields created as long as the user keeps adding
email addresses.....
email[0] , email[1] ........
is there a generic way in validation.xml to validate the whole list of
email items, with just one definition in validation.xml?
 
Thanks a lot.
 
Patrick.