{"title":"ValuesAllowed Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-valuesallowed-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-valuesallowed-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-valuesallowed-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Sets the values that are allowed in the field.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":107,"chars":39},{"level":2,"title":"Syntax","slug":"syntax","at":146,"chars":59},{"level":2,"title":"Remarks","slug":"remarks","at":205,"chars":461},{"level":2,"title":"Related information","slug":"related-information","at":666,"chars":40}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets the values that are allowed in the field.\n## Applies to\n Table field\n Page Field\n## Syntax\n```al\nValuesAllowed = Codeunit, Page, Query;\n```\n## Remarks\nSeparate the values with a comma. For example, if you only want the user to enter 1, 3, or 5 in this field, enter 1,3,5 for this property.\nThe property setting is checked during validation. Validation occurs only if the field or control value is updated through the UI, for example, if a value is updated on a page or if a field is updated in a table. If a field is updated through application code, then the ValuesAllowed property is not validated.\n## Related information\ndevenv-properties"}