November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Any way to tap into the Javascript API to do what you are wanting to do?
https://world.episerver.com/documentation/developer-guides/forms/handling-events-for-forms/
Maybe the FormsStepSubmitted event.
I experimented a bit with the client side events, but I couldn't do anything useful there. I'm leaning towards just building a custom stepper at this point.
It seems Epi is storing submission data somewhere, for example when using the form stepper, clicking "Next step" will trigger a Submit and data is saved. If I reload the page, the fields will populate with that previously saved data. Disabling javascript or disabling cookies will prevent this behaviour, but that's not an option.
We have custom Save/Send logic for our implementation that does not utilize Epis Submit event, thus causing a conflict with how data is populated (we use an external data source).
I tried implementing my own Controller and overriding the Submit method, simply returning a new EmptyResult, this will prevent Epi from saving data but it will also break the stepper functionality as it relies on the server returning something to trigger a step change.
I want to use the stepper component, but I do not want it to Submit data on step change, can this be solved? Or if it must save data, can I disable the population of said data?