Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing an application in Flex 4.6 and AIR 3.9 Here I have two TextInput fields to get userName and Password and then a login Button.

Simple I want this functionality:
Initially Both Login button and Password text field are disabled. Only User name is enabled.
when someone clicks in the username text field then password should be enabled.
when both username and password are filled with some data then Login button is enabled.

Means, pasword field should be enabled when some data is written in user name field.
And Login button is enabled iff username and password fields both are filled with some data.

Any help? Suggestions??
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900