[flexcoders] Disable button if field is empty

2008-05-21 Thread mr_delphi_developer
I have this input field and button. mx:TextInput id=team_pin maxChars=4 displayAsPassword=true editable=true enabled=true width=55 / mx:Button label=Get Roster click=empRO.loadAll.send(); enabled=false id=GetRosterBtn/ I don't want the button enabled until the team_pin has 4 characters.

Re: [flexcoders] Disable button if field is empty

2008-05-21 Thread Manish Jethani
On Wed, May 21, 2008 at 8:06 PM, mr_delphi_developer [EMAIL PROTECTED] wrote: I have this input field and button. mx:TextInput id=team_pin maxChars=4 displayAsPassword=true editable=true enabled=true width=55 / mx:Button label=Get Roster click=empRO.loadAll.send(); enabled=false