I want to create a generic proxy-page to handle input from the "Forms for editors" module, as I want to handle the db-submissions myself.
Before submitting the form, I change the action for the form to point to my proxy-page instead. The proxy-page consists of a cshtml-file located outside DW.
I need to iterate through the form object after submission, in order to find and save the required form fields.
My thought was to serialize the form object and save it to a hidden form field. On the proxy-page I would then de-serialize it and iterate through the form fields, but how can I serialize the form object, before the form is submitted?
Edit: Should I look at the NotificationSubscriber instead?