Nav v4 synchronization to another database

Nav version 4.

I have to validate some field in customer table and forse to synchronyse it in web page customer table. If I place web customer field update code in validate trigger, when it is possible nav reject customer record update for some reason and data will mismatch. What is the correct way of such sync in older nav versions with forms?