cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joshieboy
Helper III
Helper III

Reset child dropdown in cascading menu

I was searching for something along these lines.  I have two dropdown fields on my form which are cascading menus pulling from SharePoint lists.  When a user selects an option in dropdown A, the corresponding values in dropdown B show.  This works well.  However, if they choose a corresponding value in dropdown B and decide to change dropdown A to another value, the new values in B are displayed, but the old value they selected in B previously to the change is also displayed.  Is there a way to clear this value for dropdown B and only show the corresponding ones for B based on the change from A, to ensure more accurate data entry.  

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User III
Super User III

@joshieboy 

In the OnChange action of A, place the formula Reset(dropdownB)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

2 REPLIES 2
RandyHayes
Super User III
Super User III

@joshieboy 

In the OnChange action of A, place the formula Reset(dropdownB)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

Wow.  @RandyHayes - I cannot believe this was so simple.  Thank you.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (48,377)