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 :
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

  • Suggested answer
    JAngle Profile Picture
    159 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 740 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 531 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 310 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans