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 / Showing a button when ...
Power Apps
Answered

Showing a button when two fields meet validation requirements

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have two fields that are required.
If either field is blank then dont show the button.
In the buttons visible property I am trying the following but it doesnt work.

If(IsBlank(DataCardValue20),false,true)||If(IsBlank(DataCardValue21),false,true)

What am I doing wrong.

 

Thank you!

Categories:
  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Try the following

    If(IsBlank(DataCardValue20)||If(IsBlank(DataCardValue21),false,true)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The check mark button still does not reveal itself with your change.
    Thanks for your assistance

  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Sorry, you have to make sure you are evaluating the values of the datacards.  If they are text it should be this.

    If(IsBlank(DataCardValue20.Text)||If(IsBlank(DataCardValue21.Text),false,true)

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 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard