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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,465)