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 / How does the attribute...
Power Apps
Unanswered

How does the attribute.isValid function check validity of the data

(0) ShareShare
ReportReport
Posted on by 305

According to the docs 

https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/attributes/isvalid 

 attribute.isValid returns true if the column value is valid; false otherwise.

 

But how is the validity of the data determined ? 

I have the same question (0)
  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Rutu01,

    Good question! It checks if the unsaved data is correct based on the data type and format of the Dataverse column. For example, if the attribute is a whole number with a min of 0 and a max 100 (max length for text). If the data in the field is 1000, isValid will be false. If the data is a char (eg "abc"), isValid will be false. If the data is 2, it will return true. So it always checks against the configuration of the Dataverse column:

    EricRegnier_0-1711037847078.png

    Hope this helps!

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard