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 / REQUIRE / FORCE Capita...
Power Apps
Unanswered

REQUIRE / FORCE Capitalization

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

Will placing 'Upper(TextFormat.Text), in a Label or TextInput in some manner force the text to default to ALL CAPITALIZED?

I am looking for a way to make sure ONLY all capitalized is allowed to be entered, or that ONLY all capitalized in coming back from the SharePoint list and viewable in the Gallery fields.     

Phineas_0-1693431383762.png

 

Categories:
I have the same question (0)
  • TheRobRush Profile Picture
    11,128 Moderator on at

    Yes

    TheRobRush_0-1693432016242.png

     

  • TheRobRush Profile Picture
    11,128 Moderator on at

    For the TextInput just let them type however they want but pass the results on as Upper(TextInput.Text)

  • Phineas Profile Picture
    5,331 Moderator on at

    Do I put Upper(TextInput.Text) in the Format property or in the Default property of the TextInput?

    What if it's a CombBox control or Dropdown?

  • TheRobRush Profile Picture
    11,128 Moderator on at

    you dont put it on the textinput, you put it wherever you reference the text input. Like i mentioned above just let them type however they want in the text input. then when you call on it do Upper(TextInput.Text) so even if the user types Bob, it will send BOB

  • Phineas Profile Picture
    5,331 Moderator on at

    Does that mean in the Patch formula, if I'M sending to A SharePoint LIST?

    And, when they call that data back from SharePoint to view, say in a 'View' form, the content will be CAPITALIZED?

  • TheRobRush Profile Picture
    11,128 Moderator on at

    That is correct, if you manipulate it to Upper during the patch anyone looking that up in the future will see it as upper. Unless you further manipulate it using Lower or Proper

  • Phineas Profile Picture
    5,331 Moderator on at

    Is this the correct formatting?

    Patch(
    'Client_List',
    Defaults('Client_List'),
    {Title: Add_Individual_ID.Text,
    Prefix:  Upper(Add_Individual_Prefix_Dropdown.Selected.Value),
    Suffix: Upper(Add_Individual_Suffix_Dropdown.Selected.Value),
    First_Name: Upper(Add_Individual_First_Name_Fld.Text),
    Last_Name: Upper(Add_Individual_First_Name_Fld.Text)
    )
    ;

  • TheRobRush Profile Picture
    11,128 Moderator on at

    Yah, other than missing a }, looks right.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard