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 / Check if a datacard va...
Power Apps
Unanswered

Check if a datacard value is blank issue

(0) ShareShare
ReportReport
Posted on by 159 Season of Giving Solutions 2025

Hi,


I have this condition on my Form's OnSuccess property where I am checking a datacard value if its blank. If it's not, another logic will run to save data on a list. Here are the weird scenarios

 

1. Selected a record. i removed the data on the datacard and saved. Logic went through because my logic detected the datacard is not blank. But actually, its blank.

2. Edit the same record. datacard is still blank. Logic now detected its blank.

 

it's like it does not know its blank on the initial edit.

 

Logic is like this one. 

If(Not(IsBlank(Trim( DataCardValue6.Text)))
 
Any advice on how i can resolve this to work properly on the first edit?
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @powerdevkris ,

    Try this 

    If(
     Len(Trim(DataCardValue6.Text)) > 0,
     Do Whatever

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • powerdevkris Profile Picture
    159 Season of Giving Solutions 2025 on at

    Thanks for the info @WarrenBelz. Tried the formula but still having the same issue where if i edit a current record on the datacard and remove the values. its still detecting that it had a value but its actually blank when i saved. 

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @powerdevkris ,

    Very strange - if you put this on a Label

    Len(Trim(DataCardValue6.Text))

    what does it return when the control is empty ?

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard