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 7955913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:49:58+00:00 2026-06-04T03:49:58+00:00

I have 2 text fields, one is for usrname and the other one is

  • 0

I have 2 text fields, one is for usrname and the other one is for password.

Question : after entering a username and hit next from the keyboard, how can I jump to the password field for typing a password..

Any comments are welcomed here.

  • 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-04T03:49:59+00:00Added an answer on June 4, 2026 at 3:49 am

    You need to implement the UITextFieldDelegate protocol and use the becomeFirstResponder method to change the focus to the next textField.

    The method you need to implement on the delegate is textFieldShouldReturn:.

    This is a sample implementation I have:

    -(BOOL) textFieldShouldReturn:(UITextField *)textField 
    {
        [passwordField becomeFirstResponder];
    
        if (self.passwordField == textField) {
            [self loginAction:textField];
        }
    
        return YES;
    }
    

    You can set the implementing class delegate for both of your text fields.

    Hope it helps!

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

Sidebar

Related Questions

I have two text fields (one for username & another is for password) and
I have a form on the login page with username and password text fields.
I have one form with several text fields and one button. When i enter
I have a Symfony2 form with a variety of fields, including one optional text
I have a view with two UITextField , one for username, one for password.
I have created one jsp form which contains the username textfield. On the click
In one of the ms-access table I work with we have a text field
I have a form in a PHP script and one text field. However when
I have one text box on that text box i am using required field
i have one text area <textarea name=message id=message class=text_field style=height:200px; width:500px></textarea> if i type

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.