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 / Is there any way to se...
Power Apps
Answered

Is there any way to select text in a text input?

(0) ShareShare
ReportReport
Posted on by 12

I'm trying to find a way to select text in a text input if it fails my validation check. The behavior I'm after is that if it fails validation, it should highlight the text so that the user can just scan or type over it without needing to backspace. However, I would also like them to both be able to see what they attempted to enter and correct it if they can (i.e. if they just forgot to add 1 character at the end, they should be able to see that and hit the arrow key to keep the previously entered data instead of needing to type it all again). Basically I want to allow typing over the previous text but also the ability to keep it if it was mostly correct and just needed a small correction.

 

Is there any way to accomplish this?

Categories:
I have the same question (0)
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    I would suggest having a separate label that displays the 'issue', as you won't be able to select the text within the text input, you can only set the focus to a specific control and not particular contents in it.

  • slafleur Profile Picture
    12 on at

    Not even selecting all contents in a control? (Not just particular sections)?

     

    That's unfortunate if so, seems like it would be a pretty basic feature.

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    By setting the focus, the text cursor will be placed at the end of a text input. That is currently the only thing you can do with regards to your request, you could use another label to indicate at which character, or else letting them know where in the text?

     

    I've attached a POC app that you can play around with to see what I mean.

     

    iAm_ManCat_0-1671720538294.png

     

     

    Cheers,

    Sancho

  • slafleur Profile Picture
    12 on at

    That's fair, I was just hoping powerapps would have a more user friendly solution. Highlighting text when it needs to be changed is pretty common in other apps and web forms that we use, so making the user manually select all and delete is a bit inconvenient. I do already have labels that are visible when an error occurs, but users are usually scanning and not near the computer so it's not great as a solution, then to cater to that use-case I have to give up the ability to let users correct the last entry instead of retyping. I don't even have access to make a suggestion to powerapps for a new feature.

     

    Oh well. I appreciate the assistance.

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    New ideas can be requested here:

    https://aka.ms/PA_Comm_Ideas

     

    The old ideas forum was moved to this new address a while ago - let me know if you can access that! Pop the link to the idea in here when you post it and I'll upvote it 🙂

  • slafleur Profile Picture
    12 on at

    Oh, I didn't realize that was why, thank you!! I just submitted the idea:
    https://ideas.powerapps.com/d365community/idea/b97d9f2a-0d82-ed11-a81c-6045bd804c68

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Voted!

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard