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

Notifications

Announcements

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,325 Super User 2025 Season 2

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,325 Super User 2025 Season 2 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,325 Super User 2025 Season 2 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,325 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard