Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

From SharePoint Column Validation to Power App form

In my Sharepoint column I had a column validation for making sure the end user didn't enter any space.


=AND(IF(ISERROR(FIND(" ",[Contract Number])),TRUE))


which worked great, but now I've created a power apps form and this column validation doesn't work.


How do I validate my Contract Number in Power Apps? I just want to make sure there's no spaces used when the enter in their information and it would be just for that one column.

Super User III
Super User III

Re: From SharePoint Column Validation to Power App form

In Power Apps you could use this logic to check for a space in the words.

Find(" ", Label1.Text)>0


Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up." 

Helper I
Helper I

Re: From SharePoint Column Validation to Power App form

@mdevaney  unless I'm putting it in the wrong place I didn't find that to work. I put it under Required in the datacard should it go somewhere else?

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,717)