Re: Enable a button once text is added to textfield

2011-05-04 Thread Peter Hudson
In IB set the button to be disabled. Set yourself up a delegate for the text field and let the delegate respond to -(void)controlTextDidChange:(NSNotification *)aNotification It is also convenient if the delegate has a pointer to the button as well. When the delegate receives this notificat

Re: Enable a button once text is added to textfield

2011-05-03 Thread Kyle Sluder
On May 3, 2011, at 9:10 AM, Eric Williams wrote: > Any suggestions on how I can bind a button to a textfield so that the button > is disabled when the field is empty, and then enabled once text has been > entered in the field? The typical MVC approach would be to bind your buttons enabled bind

Enable a button once text is added to textfield

2011-05-03 Thread Eric Williams
Any suggestions on how I can bind a button to a textfield so that the button is disabled when the field is empty, and then enabled once text has been entered in the field? Thanks. Eric Williams AIM & Email: wile...@gmail.com Skype: wilersh _