Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

eti-enne02

macrumors newbie
Original poster
Nov 12, 2008
3
0
hey everyone! I'de need help to know a few things(I'm a noob programmer:()

Info: I'm using xCode and programming with cocoa

- I'de like to know how to add a maximum numbers to a text field(like you type 4 then it switches to the next text field automaticly)

-I'de also like to know how to make the send button send the info written before in the fields to a server/mail/etc.

-Also, I need to know how to make a faded button appear when every fields are full

Thanks!:D
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
1. See NSNumberFormatter and its setMaximum: method.
2. See NSURLConnection
3. What's a faded button? Do you mean a hidden button (setHidden:)? Set all your text fields' delegates to your controller and implement the controlTextDidChange: method, then check each text field to see if its stringValue's length is 0.
 

eti-enne02

macrumors newbie
Original poster
Nov 12, 2008
3
0
un allright i posted this in a while but maybe someone really nice would help me. I'm a total "noob" and I don't know how to and where to put the commands above :(
can anyone tell em??:D Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.