Option A looks interesting, but I'm not sure if `formContext.data.addOnLoad(myFunction)` is the right way to go about it. Shouldn't we be using the `entity` property instead of `data`?
I think option C is the correct answer. We need to add the script to populate event data on the form, and `formContext.data.entity.addOnSave(myFunction)` seems like the right way to do it.
That's a good point, Nada. It does make more sense to populate event data when the form is loaded. I think I changed my mind, A) is the correct answer.
I disagree, I believe the correct answer is A) formContext.data.addOnLoad(myFunction). We need to populate event data when the form is loaded, not saved.
Caren
Mila
5 days agoJosefa
20 days agoNada
23 days agoJosefa
26 days ago