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 / Upper Case as user types
Power Apps
Unanswered

Upper Case as user types

(0) ShareShare
ReportReport
Posted on by 34

Hi All,

 

Is it possible to have an input textbox default to Upper case as the user is typing?

 

I know that you can use the Upper() function when you submit/save the form but I want the user to see the text in the field as upper case only.

 

How do you do this?

 

 

Categories:
I have the same question (0)
  • RusselThomas Profile Picture
    4,014 on at

    Hi @myatix ,

    Doing it while the user types involves some smoke and mirrors which may have other trade offs.

    You can convert it to Upper() using OnChange(), so the user will type in small caps, but as soon as they move off the input it will update - but if they don't move off it won't update.

    So - the smoke and mirrors approach trade-off - you will lose your input cursor and any hover effects you usually get on your input control.  This user experience might be odd, but if it doesn't put you off and you're determined to continue, then read on:

     

    Assuming your text input is TextInput1

    Set your TextInput1 HoverFill: property to;

    Self.Fill

    Add a label over your input, set the background color to the same background color of your input and resize it to fit nicely over your input. Set the Text: property of your label to;

    Upper(TextInput1.Text)

     Set the OnSelect: property of your label to

    SetFocus(TextInput1)

    Now when you click over the text input you'll click the label - which will set the focus to the input.

    As you type in the background the label will update with the Upper() conversion, giving the illusion that you are updating the input as you type.

     

    It's not ideal, considering the trade offs, but it should work... 

    Kind regards,

    RT

  • Matt Taylor Profile Picture
    38 on at

    I know this is a very late post, but I had the same requirement and tried something which did seem to work. 

     

    On a text input box OnChange event put something like the following:

    UpdateContext({ _locUserSearchTerm: Proper(Self.Value) })

    Then on the 'Value' property put the following: 

    _locUserSearchTerm

     I should note that I'm using the modern controls. I'm sure this will work with classic, but the property to set the text is 'Text' rather than 'Value' I believe. 
    I've also not tested a great deal to see if it causes any issues - I've typed as quickly as I can and it doesn't seem to get caught up. 

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard