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,...
Answered

Can I make a field read only until another field is selected?

(0) ShareShare
ReportReport
Posted on by

I am creating two new fields on my form.  I want my second field to be read only until my first field is populated.  Once the first field is populated I then want my second field editable.

Is this possible out of the box?

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    You can try to do it using Business Rules. If that's not doable using it you will have to write some JS.

  • Verified answer
    LuHao Profile Picture
    40,892 on at

    Hi partner,

    This can be done using business rules.

    First refer to this document to know how to create business rules: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/create-business-rules-recommendations-apply-logic-form

    Here is a demo.

    There are two fields on my form.

    pastedimage1579849429779v1.png

    Go to Settings > Customizations > Customize the System, create a new business rule.

    pastedimage1579849529550v2.png    pastedimage1579849547910v3.png

    pastedimage1579850945396v5.png

    Set its logic to:

    IF

    test field 1 does not contain data

    THEN
    Lock test field 2

    Then create the second new business rule.

    pastedimage1579850968697v6.png

    Set its logic to:

    IF

    test field 1 contains data

    THEN
    Unlock test field 2

    Activate both business rules.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 153

#2
ManoVerse Profile Picture

ManoVerse 140 Super User 2026 Season 1

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 59 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans