Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8448193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:21:41+00:00 2026-06-10T10:21:41+00:00

I am using become first Responder for textfield. If i try to tap the

  • 0

I am using become first Responder for textfield. If i try to tap the becomeFirst responder textfield. Cursor moved to that textfield but i cannot type in that textfield. This issue occurs only in iOS 5 but in iOS 4 it works fine. Please explain me to solve this issue.

  if (textField == fnameTxtFld){

        if([fnameTxtFld.text length]>0)
        {
            if ([fnameTxtFld.text length]<= 100) {

                if (![self checkForSpecialChar:fnameTxtFld.text]) {

                    Custom_Alert *alert=[[Custom_Alert alloc]initWithTitle:@"Alert" message:@"Please check the details entered in First Name" delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil];

                    [alert show];
                    [alert release];

                    [fnameTxtFld becomeFirstResponder];

                    return NO;

                }
                else
                {
                    [textField resignFirstResponder];
                    fnameTxtImg.image=[UIImage imageNamed:@"birth_date.png"];
                    //    [lnameTxtFld performSelector:@selector(becomeFirstResponder) withObject:nil afterDelay:0.0];
                    [lnameTxtFld becomeFirstResponder];

                    return YES;
                }
            }        
            else {
                Custom_Alert *alert=[[Custom_Alert alloc]initWithTitle:@"Alert" message:@"Please check the details entered in First Name" delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil];
                [alert show];
                [alert release];

                [fnameTxtFld becomeFirstResponder];

                return NO;

            }

        }
        else {
            [lnameTxtFld becomeFirstResponder];

            return YES;
            // [fnameTxtFld resignFirstResponder];
        }
    }

if i am in fnameTxtFld, and i try to tap the lnaneTxtFld cursor moves from fnameTxtFld to lnameTxtFld but i cannot type in that textfield. textwillnot appear in that textfield.Please help me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T10:21:42+00:00Added an answer on June 10, 2026 at 10:21 am

    I think this will work only Partially. I solved this problem without issue by setting boolean variable in should begin editing. and i will access this variable in didend editing.
    Should begin should not called when didendEditing is Called. thanks for ur response..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it only classes inheriting from UIControl that can become first responder? I need
Using CI for the first time and i'm smashing my head with this seemingly
Let me start off by saying that this is my first real Cocoa app.
I generally do the following, but I'm hoping for a library that handles this
I've been using Java almost since it first came out but have over the
I have to write program that create process using pipe() . My first task
I'm having a problem with getting my divs to become sortable using Scriptaculous's Drag
I have become accustomed to using TryParse for attempting to parse unknown types: Dim
I was accidently using the gh-pages branch so now it has become the most
Using a populated Table Type as the source for a TSQL-Merge. I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.