Specifically this prevented us from emulating how fields were formatted upon leaving them. To rectify this we implemented our own version of the Field object described within the Adobe’s API and tied it into the form objects currently used. This means that now upon leaving a form field it is not only calculated correctly but also formatted correctly so.
AFNumber_Keystroke(2, 0, 0, 0, '', false);
We’ve also implemented the behaviour for pressing Return/Enter within a field. Originally this had been overlooked.