- (BOOL) textFieldShouldReturn: (UITextField *) textField
{
if (textField == nameField)
{
// Code that you want it to do if nameField has just had its done button hit.
}
else if (textField == otherField)
{
// Code that you want it to do if the otherField has just had its done button hit.