web
You’re offline. This is a read only version of the page.
close
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

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

I have the same question (0)
  • Suggested answer
    Tarcisio Vilas Boas Profile Picture
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans