Disable button until text fields have been entered?

Posted by cannyboy on Stack Overflow See other posts from Stack Overflow or by cannyboy
Published on 2010-05-18T18:11:22Z Indexed on 2010/05/18 18:20 UTC
Read the original article Hit count: 178

I have several uitextfields within a view and I would like to disable the uibutton until all the fields have something entered into them. What's the best way of doing this? Ideally, I'd like to do some basic validation (make sure all entries are numbers) too.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c