
I would like to reduce the allowed string length of a fewof text fields in the Business Central UI. I don't want to change the length in the table, just the page object. I looked on the field object in the page and it has a MaxValue for numeric fields but no MaxLength.
Is this possiable without creating new fields on the table?
You can check in the OnValidate trigger of the field or OnAfterModify trigger to check the StrLen of the input value and show error if is more than the length that you need.