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 / Powerapps - check valu...
Power Apps
Answered

Powerapps - check value of combo-box (selected items) in the formiula for a button(Visible property)

(1) ShareShare
ReportReport
Posted on by 358

We have a PowerApps form with several fields that must be completed before the form can be submitted to the Sharepoint List.

 

We can't make them required or mandatory on the Content-Type and List because we want the users to be able tosave their data, and come back to it to edit it before Submitting...

 

So we need to disable/hide the Submit button until these fields are completed by the user.

 

In our Submit Button control we are using a formula to control the Visibility property of the button, or it's container which is the footer.

 

So we have tried this kind of thing:

 

If(
 And(
 TitleField.Text <> "",DescOfInitiativeField.Text <> "", DateRaisedField.SelectedDate <> Date(
 1900,
 01,
 01
 ),
 Not IsEmpty(PersonalDataChoiceField.SelectedItems.Value),
 Not IsEmpty(SpecialCatChoiceField.SelectedItems.Value),
 Not IsEmpty(ChildrensDataChoiceField.SelectedItems.Value),
 Not IsEmpty(CriminalChoiceDataField),
	Not IsEmpty(SourcesOfDataChoiceField.SelectedItems.Value),

but we are not having any luck...

 

So what's the correct way to go about this? How can we test that at least one of the options in each of our combo-box fields is selected?

 

BTW we are relative newcomers to the joys of PowerApps

Categories:
  • livingstonep Profile Picture
    358 on at
    bumped
  • Verified answer
    ChrisR Profile Picture
    141 on at

     Unless there is a detail I missed, probably don't need the IF().  I would write the Submit button's Visible property formula in this format.

     

     

    !IsBlank(TitleField)&&
    !IsBlank(DescOfIni)&&
    !IsEmpty(PersonalDataChoiceField.SelectedItems)&&
    !IsEmpty(SpecialCatChoiceField.SelectedItems)

     

     

     

    Hope it helps,

     

    Chris - IW Mentor PowerApps Training

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard