The Forms module exposes events that are related to the data passed by the form during the submission process. To subscribe to events, we recommend using the interfaces, even if the events that fire are concrete implementations (classes).
Following is a full list of the events supported by Forms:
This interface is implemented by all events fired for Forms. Use it, if you want to subscribe to all of them. Subscribe using the following code:
The IFormEntryEvent interface inherits from IFormsModuleEvent, and is the base interface, responsible for form entries events, that fire on specific actions such as create or update.
IFormEntryEvent
IFormsModuleEvent
In the event handler, you can access the following information:
To subscribe, use the following:
This interface is implemented by all events that fire after a form entry is created. There is only one such built-in event and you must subscribe to the interface rather than the class that implements it. Since this interface inherits from IFormEntryEvent, you can access the same type of information inside your event handler. Subscribe using the following code:
This interface is implemented by all events that fire after a form entry is updated. There is only one such built-in event and you must subscribe to the interface rather than the class that implements it. Since this interface inherits from IFormEntryEvent, you can access the same type of information inside your event handler. Subscribe using the following code:
This interface is a contract for events that contain all form data. The interface inherits the IFormModuleEvent. The IFormEvent is implemented by the following events:
NOTE: If an action is cancelled, the event handlers throw an exception: Telerik.Sitefinity.Services.Events.CancelationException.
Anytime an action related to forms is executed, the IFormEvent is raised. To subscribe to the event, use the following code:
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important