NSMutable array problem
NSMutable array problem
- Subject: NSMutable array problem
- From: tan teck keong <email@hidden>
- Date: Fri, 10 Oct 2003 05:30:22 -0700 (PDT)
dear all,
i have a problem with NSMutable array. the scenario is describe as below,
in the main page i ask user to enter the number of player (for example, 2 players) and click on submit button go to second page. in the second page i ask user enter the players' name (two text field dynamic generate base on the number of players). the problem is when the user click on the back button back to the main page, and then click on the submit button again to go to second page. the numbers of text field become four, it should remain 2. this also mean when the user click the submit button again at the main page, the value of players number is append to the NSMutable array. how do i make the NSMutable array always state on 2 players (in this case). for example, in this case no matter how many times the user clicks on the back button (from second page) and submit button (at main page) the NSMutable array would always state on 2 players.
thank you for helping.
best regards and cheers,
eric
The New Yahoo! Shopping - with improved product search
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.