Skip to main content

Notifications

Microsoft Dynamics CRM forum
Suggested answer

How to lock/disable some fields of composite field

Posted on by 105

Hi,

I have written a JS code on on-change of pincode/zipcode field. So, Whenever user enter a zipcode, City ,state and country will automatically gets populatef. I have 2 questions: 1.After that,  How to lock/disable these fields of lead entity ? 

2. I want to auto populate city and state based on zipcode. But is it possible to auto populate disabled or locked fields?

Thanks in Advance

  • Suggested answer
    RE: How to lock/disable some fields of composite field

    Hello,

    1. Try to take a look at this reference: www.inogic.com/.../

    It explains how to lock/unlock composite fields using JavaScript.

    2. I understand that via JavaScript is possible to change values on blocked fields as well

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans