web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to lock/disable some fields of composite field

(0) ShareShare
ReportReport
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
    Tarcisio Vilas Boas Profile Picture
    Microsoft Employee on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 102

#2
11manish Profile Picture

11manish 88 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 84

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans