cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (25,076)