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...
Answered

How to prevent manual data input in drop-down menu fields.

(0) ShareShare
ReportReport
Posted on by 18

Hello BC community!

On the customer card the field "Post Code" is related to the underlying "Post Codes" master table and users can pick an option from that master.

But the field also accepts any manual text input from the user.

Is there a way (through AL code or UI settings) to limit data input in this field (or any other master table related field) to the options from the underlying master?

Any input would be highly appreciated!

Thanks in advance, 

Jakob

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    150 on at

    Altering this property for that field is a starting point: docs.microsoft.com/.../devenv-validatetablerelation-property

  • Jakob Gutzmann Profile Picture
    18 on at

    Thank you for the quick reply Josh!

    I checked in the Base application and the ValidateTableRelation property is indeed set to false. Unfortunately, when I try to modify the field I get an error telling me that this property can not be modified. Maybe it is protected for some reason?

    Thanks!

  • Verified answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    This is base feature which disable table data validation in case of Post code and city field.

    You can create Custom Post Code field and fill the value in original filed at the time of entering the value in Custom field. Your requirement achieved in this way.

    Regards

    Amit Sharma

    www.erpconsultors.com

    linkedin.com/in/amit-sharma-94542440/

  • Jakob Gutzmann Profile Picture
    18 on at

    Thank you very much for your help Amit and Josh!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,850 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,084 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans