Use a Button control to invoke a validator
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> import mx.events.ValidationResultEvent; private var vEvent:ValidationResultEvent; private function validateData():void { if (country.selectedValue == "Canada") { vEvent = zipCN.validate(zipInput.text); } else { vEvent = zipUS.validate(zipInput.text); } } </mx:Script> <mx:ZipCodeValidator id="zipUS" domain="US Only" listener="{zipInput}" /> <mx:ZipCodeValidator id="zipCN" domain="US or Canada" listener="{zipInput}" /> <mx:RadioButtonGroup id="country" /> <mx:RadioButton groupName="country" label="US" /> <mx:RadioButton groupName="country" label="Canada" /> <mx:TextInput id="zipInput" /> <mx:Button label="Submit" click="validateData();" /> </mx:Application>