Forum Discussion
christopher_gillis
8 years agoCommunity Manager
Hello,
The onLoad event is called only a single time when the user initially loads the Form. It will not be repeated if the user refreshes, locks, unlocks, or saves the item. This is why the recommendation was to use an onFormPopulated event.
Could you let us know what version of Aras Innovator you are using? I believe I wrote that blog post against 11.0 SP12, and there may be some slight variation between versions.
One thing you could try is to follow the solution I included for disabling the Item field and place the code you have to disable the field inside of a short timeout. This was to resolve a behavior I saw where the Item field was automatically re-enabled after the Form was fully loaded.
Chris
Christopher Gillis Aras Labs Software Engineer
Christopher Gillis Aras Labs Software Engineer