web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Tab command in login box
Power Apps
Unanswered

Tab command in login box

(0) ShareShare
ReportReport
Posted on by 294

Hello, i would like to know ho insert a authomatic tab in a box when it is filled out to move to other box.

 

i have a login form and i need to have this command to move from username box to password box after the username box is filled out.

 

thank you

 

 

Categories:
  • eka24 Profile Picture
    20,925 on at

    You can change the TabIndex properties of the textboxes:

    Example: 

     usernameTXT 1

     PasswordTXT  2

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • gennarodp Profile Picture
    294 on at

    how ?

  • eka24 Profile Picture
    20,925 on at

    Check this Screenshot

    TabIndex.JPG

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • gennarodp Profile Picture
    294 on at

    To move authomatically from username to password what value i have to insert in tabindex property ?

  • eka24 Profile Picture
    20,925 on at

    Do you mean moving to the nest textbox without clicking on Tab? if Yes, i don have a solution for that.

    However,

    If you mean after clicking the Tab Key you move to the nest textbox example Password textbox then follow the first post.

    If you are not sure, show a screen shot to make your request clearer

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • gennarodp Profile Picture
    294 on at

    Yes. I want move to the next textbox without clicking on Tab.

  • eka24 Profile Picture
    20,925 on at

    Well to automatically move to the next without Tab, cannot help on that.

    I wonder if that could be achieved.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @gennarodp 

    Don't change the tabindex on your controls!  Your tab stops should be based on the order of the controls on your screen.  If you need specific ordering, use a control group.  The documentation has a stern warning on changing the tabindex based on the W3C warning of the same.

     

    Now, given that, the tabindex does not seem to be the concern in your post as you are stating you want it to go to the password control immediately after the username is filled in.

    So, my question would be this - how would you know that the user has filled in the username?  Do you have some sort of fixed length usernames?  Do you have some sort of validation list with usernames in it?

     

    I see problems with this as (unless there is some pattern to your usernames), if you have a BillHarris and a BillHarrison (for example), how would your app know that BillHarris was entering their username and were "done" to go to the password control versus BillHarrison is actually trying to enter their username?

     

    Also - consider your approach to needing someone to "log in".  In order for them to run the App, they already have needed to login.  Your app can get the information about that login as needed (i.e. username, etc.)

    The only real situation where a "login" would be needed is where the app is running as a single device shared app such as a kiosk or entry point.

     

    I hope this is helpful for you.

  • gennarodp Profile Picture
    294 on at

    Hello, thanks for your answer.

     

    The login form is needed for the cause that you have told (use as kiosk in shared app).

     

    Then, The username field have ever 4 digits (ex 0001). 

    thank you

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @gennarodp 

    Very good - needed to check before suggesting anything!

     

    So, the thing is, the text input will not allow "selecting" out of it until it has lost its focus and entry.  And to complicate things a little more, you can't really select a control in order to set its focus and entry like that in PowerApps.  When you select a control, it really serves to produce the OnSelect action of that control.

     

    SO...the only real option is to either deal with the tab or consider providing a "keypad" screen, to tap on digits to enter their ID, then another keypad to enter their password.  This would skip the keyboard completely for entry and would be a little more "kiosk-like" as well.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard