You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Luciano Campi <lu...@kaffa.com.br> on 2003/11/19 13:54:38 UTC
Struts Validation
Hi all,
I need to validate a e-mail CC form field like a
struts-user@jakarta.apache.org , luciano.campi@ig.com.br
I would you like to known how to create a new Validator class that
validate multiples e-mail address(like a CC and BCC address) and uses
org.apache.commons.validator.EmailValidator to validate a simgle e-mail
address.
The Regular Expression will be like this [ [{e-mail}, ]* {e-mail} ]*
I will very grateful for any advice or pointers.
Regards,
Luciano Campi
Validating dynamic fields on form-URGENT
Posted by Vinita Keswani <vi...@yahoo.com>.
Hello All,
Could someone please suggest if there is a way to validate fields created dynamically on the form ?
For eg: If I have 5 text boxes being created dynamically on some action say ADD and I want to have "required" validation on it how could I use struts validation.xml to create something like that specially since I don't know how many of these text boxes the user might create???
Thanks to help.This is kind of urgent would be glad if someone has some tips!!!
Thanks,
---------------------------------
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'