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 / Text Field with space ...
Power Apps
Answered

Text Field with space is not validating

(0) ShareShare
ReportReport
Posted on by 202

Hi,

 

I'm having a mandatory field where users will see error message before submitting the text, where i'm using isblank(txtfield.text),"error"

 

but when an user is typing the spaces which is not considered as spaces and he can able to submit the form, can we check whether there is atleast one character in the text ?

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Sharuk 

    Consider changing your formula to :  IsBlank(Trim(txtfield.Text))

     

    I hope this is helpful for you.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard