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 / IsBlank doesn't work h...
Power Apps
Answered

IsBlank doesn't work how it should

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

I have a Form splitted in several screens. I use the patch function at the end to write the data into a sharepoint list.

I check if the fields are filled with data with If(IsBlank(... at the end

It works perfectly but there is one thing that does not work right.

 

If I fill a DataCardValue with anything and delete it afterwards, the field is blank (theoretically) but i can submit the form anyways. If I just leave the field blank and don't "touch it", I can't submit the form, just how it should be.

 

Here is the complete code of that very last button:

If(

IsBlank(DataCardValue21.Text) Or IsBlank(DataCardValue35.SelectedItems) Or IsBlank(DataCardValue36.SelectedItems) Or IsBlank(DataCardValue22.SelectedItems) Or IsBlank(DataCardValue23.SelectedItems) Or IsBlank(DataCardValue33.SelectedItems) Or IsBlank(DataCardValue66.SelectedItems) Or IsBlank(DataCardValue65.SelectedItems) Or IsBlank(DataCardValue67.SelectedItems) Or IsBlank(DataCardValue68.SelectedItems) Or IsBlank(DataCardValue55.SelectedItems) Or IsBlank(DataCardValue56.SelectedItems) Or IsBlank(DataCardValue57.SelectedItems) Or IsBlank(DataCardValue58.SelectedItems) Or IsBlank(DataCardValue59.SelectedItems) Or IsBlank(DataCardValue46.SelectedItems) Or IsBlank (DataCardValue47.SelectedItems) Or IsBlank(DataCardValue70.SelectedDate);
Notify("Bitte prüfen Sie ob alle Pflichtfelder vollständig ausgefüllt sind.";NotificationType.Error);
Patch('Berichte v. 2';Defaults('Berichte v. 2');WartungForm01.Updates;WartungForm02.Updates;WartungForm03.Updates;WartungForm04.Updates;WartungForm05.Updates;OptimierungForm01.Updates;OptimierungForm02.Updates;DokuForm_01.Updates;FazitForm.Updates);;
Navigate(Success);;
ResetForm(WartungForm01);;ResetForm(WartungForm02);;ResetForm(WartungForm03);;ResetForm(WartungForm04);;ResetForm(WartungForm05);;ResetForm(OptimierungForm01);;ResetForm(OptimierungForm02);;ResetForm(DokuForm_01);;ResetForm(FazitForm))

 

I hope I described my problem well enough to be understandable !

Thank you in advance! 

Categories:
I have the same question (0)
  • Verified answer
    CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @Dwerling,

    DataCardValue23.SelectedItems is a table ... Checking a table with IsBlank() function it will always return False. 

    Please change your formula and use IsEmpty() function for every ComboBox controls or DropDown controls.

    Hope it helps !

  • Dwerling Profile Picture
    4 on at

    Ah, I got it, that was the solution. 

    DataCardValue21.Text is the only field I have to check with IsBlank

    I have to use IsEmpty for all the other ones like you said. 

     

    Thank 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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard