cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mykedeabreu
Frequent Visitor

Model Driven Apps - Event Trigger help "OnChange"

Hi All,

I am a couple weeks old in Model Driven apps using the CDS/Dataverse but learning quickly. I have a "Country" field and a "State/Province" field. I am trying to reset the "Province/State" field if the country field is changed.

 

I know this should be an "OnChange" event I am just not sure how this works and do not have any JS coding background. Can anyone direct me on how I can do this now and with future fields please?

4 REPLIES 4
WarrenBelz
Super User
Super User

HI @mykedeabreu ,

On the OnChange of the Control control just put

Reset(YourStateProvenceControName)

meaning the actual input control (not the data card)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

That would work in Canvas. I am asking for a Model Driven App.

@mykedeabreu ,

I will tag @RandyHayes here - I do not use Model Driven.

Hi Mykedeabreu,

 

Did you ever found a solution for this, I'm facing the same problems.

 

Best,

Neil

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (5,284)