cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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."



Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,706)