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 / conditional mandatory ...
Power Apps
Unanswered

conditional mandatory dropdown selection

(0) ShareShare
ReportReport
Posted on by 123
Hi everyone,
 

I have an App.
It is a checklist and if something is false, user should set the toggle to false AND should specify what is the issue in a dropdown with predefined options. The dropdown, as default is empty.
This same dropdown disappears when the toggle is true.

I want my "Next" Button (upper right corner) should only be available when any FALSE toggle has a selected item in its respective dropdown.
I tried some nested "ifs" and switches but could not make it work..
 

Does anyone have any suggestions?

Thank you in advance!
 
I have the same question (0)
  • danappwiz Profile Picture
    2 on at
    If your checklist items are in a gallery you can use the following on the OnVisible property of the "Next" button : 
    If(
        CountRows(
            Filter(
                galleryName.AllItems,
                toggleName.Checked = false && !IsBlank(dropdownName.Selected)
            )
        ) > 0,
        true,
        false
    )
    If they are separate components then you would need a more complex formula on the OnVisible instead :
     
    If(
        Or(
            And(toggle1Name.Checked = false, !IsBlank(dropdown1Name.Selected)),
            And(toggle2Name.Checked = false, !IsBlank(dropdown2Name.Selected)),
            ...
        ),
        true,
        false
    )
     
     
  • Lino Profile Picture
    123 on at
    Hello, @danappwiz

    No, the the items are not in a gallery.
    I tried your second suggesting but it ends up in the same error i had at start:
     
    I tried it only with 2 toggle and 2 dropdowns.

    As you can see in the picture, this scenario should not show the next button.
    FYI: in the Onchange property of each toggle i have a Reset(dropdown) comand to erase the dropdown selection.

     
     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard