Folks, I ran into a non-working validation, no idea what might be wrong in my code:
... <mx:Model id="login_model"> <server>{server_ti.text}</server> <username>{username_ti.text}</username> <password>{password_ti.text}</password> </mx:Model> <RequiredFieldValidator field="login_model.server"/> ... <mx:Form id="login_frm" width="600"> <mx:FormHeading styleName="cFormHeading" label="Geben Sie bitte Ihre Login-Daten ein"/> <mx:FormItem id="server_fi" label="Servername" styleName="cLabel" required="true"> <mx:TextInput id="server_ti" styleName="cInput" widthFlex="1" maxChars="100"/> </mx:FormItem> <mx:FormItem id="username_fi" styleName="cLabel" label="Anmeldename" required="true"> <mx:TextInput id="username_ti" styleName="cInput" widthFlex="1" maxChars="100" text="mflex"/> </mx:FormItem> <mx:FormItem id="password_fi" styleName="cLabel" label="Passwort" required="true"> <mx:TextInput id="password_ti" password="true" maxChars="100" styleName="cInput" widthFlex="1" text="%9Qup!*"/> </mx:FormItem> </mx:Form> ... where the RequiredFieldValidator is just the one from the Flexstore: class RequiredFieldValidator extends mx.validators.Validator { function doValidation(value) : Void { if (value=="" || value==null ) { validationError("required", "Required field."); } } } Even if I ommit the RequiredFieldValidator and use one of the Standard Validators, it doesn't seem to work. Any ideas? Cheers Kai