web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : Eu0AVLfbjhr+SaSh0oMXoL
Power Apps - Building Power Apps
Answered

OnChange issue

Like (0) ShareShare
ReportReport
Posted on 5 Jun 2024 13:29:41 by 7

I have a OnChange formula on combobox 1 to reset combobox 2 when changes are made.

i also have a check to verify if both comboboxes are filled before you can move to the next page.

 

when both comboboxes are populated, you are able to click the "Next" button.

however, when you make a change in combobox 1, combobox 2 is reset, but the "Next" button is still available.

the statement remains false (only when i manually, fill and remove an option it changes)

 

is there any way to interact this? 

I have the same question (0)
  • CU05080617-0 Profile Picture
    136 on 05 Jun 2024 at 13:39:14
    Re: OnChange issue

    Hello @jverdonk .

    If I understand correctly, you issue is that you want "Next" button to not to be visible (or to change the display mode) if combobox is reset. (Note: reset does not mean your combobox is empty, maybe you have default selected values). Thus, you can use inside the visible property the code: !IsEmpty(ComboBox.SelectedItems)

    On the other hand, if you want to check if any changes are made in the combobox2, use variables.

    Hope this helps.
    Nick

  • Verified answer
    madlad Profile Picture
    2,637 Moderator on 05 Jun 2024 at 13:41:37
    Re: OnChange issue

    Hi!

     

    I hope I'm understanding correctly, that you just want the "Next" button visible if both comboboxes are filled. Depending on how you're checking that both combobox1 and combobox2 are populated, there could be a couple reasons.

    For sake of simplicity, what I usually do, is in the visibility of the "Next" button, use:

     

    !IsBlank(ComboBox1.Selected) && !IsBlank(ComboBox2.Selected)

     

    ^All this does is confirm that both comboboxes aren't blank. It should update as soon as combobox2 is reset.

     

    Hope this helps!

  • jverdonk Profile Picture
    7 on 05 Jun 2024 at 13:44:45
    Re: OnChange issue

    This worked! i did indeed had default items. so it did not work on the IsEmpty statement

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 629 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 397 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 232 Moderator

Last 30 days Overall leaderboard
Loading complete