hi friends .. i have a multiple textfields in my nib file. i want to decide input range in my one textfield 6-16 digits.and don't wanna to change some other textfield input.for that i was made a method called tflimit as below.
-(IBAction)tflimit:(id)sender
{
if([textfields1.text length]>=15 )
{
[textfields1 resignFirstResponder];
}
}
for this method i can input only 16 digits input. how can i decide the range(6-16) of input in the textfield,without changing other codes. please help me.