Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Business Rules

(0) ShareShare
ReportReport
Posted on by 5

I have set up a business rule where when a county in one field is selected then the townships will populate in another field. I have the townships set to the default value. The user I am building this for would like to be able to edit the township field "if necessary" Does anyone know if I can use an event handler to do that or have any other suggestions as to how to make the field stay editable after the rule has been applied? Or can it even be done? 

  • Suggested answer
    RE: Business Rules

    Hey Stacy,

    an interesting requirement that may be a bit tricky when working with Business Rules.

    Could you post a screenshot of your Business Rule? What exactly do you mean "set to the default value".

    I remember having some issues some time ago, when I used the "Set Default value" action in a Business Rule. I'm pretty sure that the "Set Field Value" action solved the issue back then for me.

    Otherwise, if the magic of Business Rules don't apply, there is always JavaScript to help.

    You could write a JS-Function which triggers onChange of the county field and populates the Townships with the necessary value(s). So when a user needs to do some "adjustments" after the selection of a County it's still possible. Because the JS-Function will only trigger onChange of the County field.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans