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 / Word Count Minimum for...
Power Apps
Answered

Word Count Minimum for Textbox

(0) ShareShare
ReportReport
Posted on by

I'm attempting to create a power app request form, where a justification is required. The justification must have at least a minimum of 25 words and no more than 500 words. In the event the user does not enter 25 words, an error message shows stating "Justification does not meet minimum word requirement".

 

Does anyone have a resolution as to how this can be done.

 

 

Thank You

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gilby1986 

    Set the Visible property of your "Justification does not meet minimum word requirement" label to:

    CountRows(Split(yourTextInputControl.Text, " ")) < 25

     

    I hope this is helpful for you.

  • GB-23071442-0 Profile Picture
    on at

    Hi Randy,

     

    Thank you for your prompt response. I attempted to follow your instructions provided. Unfortunately the solution provided did not work. Maybe I'm doing something wrong. I've attached a screenshot of what I've entered.

     

    JustificationError is the label created to display the error message

     

     

    Power Apps.jpg
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gilby1986 

    Yes, that will never work!  You are trying to split the text by "Justification does not meet minimum word requirement"...pretty sure your words are not separated by that phrase but by spaces.

     

    The formula should be:

    CountRows(Split(JustificationTextInput.Text, " ")) < 25

     

  • GB-23071442-0 Profile Picture
    on at

    @RandyHayes  Thank you sir for your assistance on today. With the solution provided I was able to resolve the error

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 70

#2
WarrenBelz Profile Picture

WarrenBelz 64 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 36 Super User 2026 Season 1

Last 30 days Overall leaderboard