BCQuality rule · uiAL Developmentofficial - Microsoftderived - from the source, no model text

ShowCaption = false on non-editable fields

When a field is explicitly non-editable (Editable = false), it serves as content rather than as a form field. In that case, ShowCaption = false is acceptable: there is no input control whose label could be lost.

Rule on GitHub · microsoft layer · ui · BC all · tier official · derived

Description

When a field is explicitly non-editable (Editable = false), it serves as content rather than as a form field. In that case, ShowCaption = false is acceptable: there is no input control whose label could be lost. The combination signals to a reviewer (and to the platform) that the field displays a value standalone — for example a status message or a description that is meaningful on its own.

This exception does not extend to dynamically editable fields. A field with Editable = SomeBooleanExpression may be editable at runtime and must keep its caption.

Best Practice

If you want to hide a field’s caption, pair ShowCaption = false with a literal Editable = false. Use this pattern only for content fields that do not act as labels for other fields in the same layout container.

See sample: show-caption-false-allowed-on-non-editable-fields.good.al.

Examples

Changed by


From microsoft/BCQuality at a4593a1, MIT License, Copyright (c) 2026 Microsoft Corporation (license).