Hi, yes, you are right.
The city field is a bit special.
In fact, you are not opening the table set in the TableRelation, but the Post Codes page.

As for why there is no validation, because there is no validation in the program on purpose.


The solution is also very simple, using OnAfterLookupCity event.

A simple example:
tableextension 50100 CustomerExt extends Customer
{
fields
{
modify(City)
{
trigger OnAfterValidate()
begin
Message('Validated!');
end;
}
}
}
codeunit 50100 MyCodeunit
{
[EventSubscriber(ObjectType::Table, Database::Customer, 'OnAfterLookupCity', '', false, false)]
local procedure MyProcedure(var Customer: Record Customer)
begin
Customer.Validate(City);
end;
}
[View:/cfs-file/__key/communityserver-discussions-components-files/758/ValidateCity.mp4:800:600
Hope this will help.
Thanks