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 :
Small and medium business | Business Central, N...
Suggested Answer

what is the easiest way to enable or disable of a filed on a page based on status change on check box field on same page

(0) ShareShare
ReportReport
Posted on by 292

HI,

i have a Text Field and a checkbox filed, in a page and i want to disable Text field when user ticked the Check box and vice versa. 

what is the easiest way to address above requirement in AL ?

Thanks,

Nishan

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    This is a common method used in the standard app: docs.microsoft.com/.../devenv-visible-property

  • Suggested answer
    riya patel Profile Picture
    82 on at

    You could create a boolean variable and change it's value on onvalidate trigger of the checkbox and assign that boolean to the editable property of the textbox you want to enable or disable accordingly.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans