I've inherited from FormsControl and have created custom properties on the object. The form has been deployed to a page.
I am looking to configure my subclass of FormsControl to have some data about how to process the form data.
I am subscribing to the IFormEntryCreatedEvent event and would like to read properties that were set on the form when it was dropped on a page.
I can't seem to find a way to get at the properties of the widget that the submission came from.
Perhaps there is a better way to do this?
I am looking to send an email to an email address that is provided in a field of the form. I created properties on the FormsControl which are set via the content editor for the FormsControl I created. One of the properties is the name of the field of the form that contains the email address.
I can trap the event and tell which form the entry came from, however I have no context of the instance of the FormsControl.