Validator has the property requiredFieldError which is the error message displayed when the field is empty but required. You can put your error messages there. Validators can be a bit problematic time to time, but once you get 'em working they are nice to have!
-Mika -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 18. maaliskuuta 2005 8:17 To: Flex Coders Subject: [flexcoders] Validator Sorry, i have a problem with validator, i'm using this examples <mx:SocialSecurityValidator field="PfVO(vopf[0]).de50pf"/> and when call this function function Add_Product() { if(mx.validators.Validator.isStructureValid(this,'PfVO(vopf[0])')) lmodello.setFocus(true); } my field in the form don't became "red" but flex throw a "classic message" like alert(field is required), please it's possibile in flex create with "classic red effect" validator but change the value not field is required but in "campo obbligatorio" Devis Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

