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...
Suggested Answer

Onlookup Trigger Validation

(0) ShareShare
ReportReport
Posted on by

Dear All,

I have an onlook Trigger that is picking County based on code selection from list Post codes. That is when I select a lookup button on my page it populates both code and county in their respective fields on my page.

I have realised, when one ignores the lookup button and type one of the existing code on the code field on my page and tab, the County field ain't populated as required but the saving of the record continues. It's only when I lookup the county is populated. Is there a way the county field will be populated when ones types without looking up?.

  • Suggested answer
    JAngle Profile Picture
    159 on at

    OnValidate trigger for one of the other fields would give the desired result without using the lookup

  • Romryan Profile Picture
    on at

    Josh, are you saying the other field besides my main lookup field???. How would the OnValidate trigger fill the County field without click/look up the countyNo field?.

  • Nick Webb Profile Picture
    911 on at

    I'm getting this same behaviour. Did you ever find an answer to this one? I tried putting an OnLookup and an OnValidate on the same field but only the OnValidate is reached?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 674 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 362 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 359 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans