Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
We usually put the XForm events in the block control/controller itself, then we have access to CurrentBlock.
Hi,
I posted this question before and got no response, maybe the description was vague.
In a project I'm currently working with, we have a Block which contains a XForm property. Now I'm about to fiddle with the AfterSubmitPostedData-event in the Initialization-module for this addon. This step is working fine, the event is executed as expected.
The problem i face is that i cannot get reference to the block that the XForm lies in. The XFormDataEventArgs doesn't have a reference to the block, just FormData.PageGuid which is of course null. And the sender is null. Is there a way of getting the reference of the block in the event?
Thanks for your help