Roger Blanchard
447 posts
Registered:
29 Jun 2018
12 Dec 2018
Link to this post
When we are adding a record we want certain fields to be enabled for input otherwise they are disabled. Right now, I am using the BeforeAddRecord event to set a variable and then in AfterFieldsEnabled I will check this variable and then enable these fields if we are adding a record. I reset this variable in AfterSaveChanges as well as AfterCancelUpdate.
Is this the best way to do this or is there a better way?