cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Riya_D
New Member

Reset one dropdown based on other dropdown

Hi,

I have two dropdowns on the create form.

Let say, Account and contact.

When the user set account dropdown to blank than contact dropdown should also become blank automatically. 

 

I used the below formula on the "OnChange" property of account dropdown. 

If(IsBlank(DataCardValue3),Set(ResetContact, true),Set(ResetContact, false))

and I have set the "Reset" property of contact to the "ResetContact" variable. 

 

but it is not working. 

2 REPLIES 2
VijayTailor
Resident Rockstar
Resident Rockstar

Hi @Riya_D ,

you are doing in Correct way, but One thing you need to change.

On First Drop Down "OnChange" Property you have to place your Code.
Coz reset happens on Click or change event.

Hope this will help you resolve your issue.

For reference see the below image

VijayTailor_0-1601283520851.png

Thanks,

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."



Hi @VijayTailor 

 

I have written a formula on the "OnChange" property of the first dropdown still it is not working.

First dropdown:

Screenshot_2.png

Second Dropdown: 

Screenshot_3.png

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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (18,082)