ShowCaption inside a repeater is harmless
Fields inside a repeater() control are labeled by their column headers, not by their own captions. ShowCaption = false on a field inside a repeater is harmless and should not be flagged.
- microsoftlayer
- uidomain
- 1example
- 1pull request
Rule on GitHub · microsoft layer · ui · BC all · tier official · derived
Description
Fields inside a repeater() control are labeled by their column headers, not by their own captions. ShowCaption = false on a field inside a repeater is harmless and should not be flagged.
This is the explicit behaviour of the Business Central client: a repeater renders as a tabular list whose column headings come from each field’s Caption (or source-table caption), and individual row cells do not announce a per-cell caption.
Best Practice
Inside a repeater, you may set ShowCaption = false on fields without losing accessibility. The column header still provides the label for every cell in that column. Outside a repeater, the rules in show-caption-on-editable-fields.md apply.
See sample: show-caption-in-repeater-allowed.good.al.
Examples
Changed by
From microsoft/BCQuality at a4593a1, MIT License, Copyright (c) 2026 Microsoft Corporation (license).