The best way is to implement custom validation class. Try to extend EmailValidator and add your rules, its for email validation question.
Rafael Faria wrote: > > > There is any way to validate one field with 2 or more types of validation? > > like > > i want a field that needs to be with max length of 30 char and all > needs to be a number > > or i need to validate an email that needs to be maxlenght of 30 (just > to give an example) > > how i would do that... because i have a function that validate each field > > something like that.. > it works just fine... but the thing is that one validation REPLACE the > latest one... > > any thoughts? -- Feсi quod potui, faciant meliora potentes - http://www.reijii.solartxit.com

