I have a multi-page form, with each page showing a single question. There are conditions that cause some questions to be hidden, but this then leaves an empty page with just the the 'next' and 'back' buttons.
Is it possible to extend the UmbracoFormsController so that the form skips past any empty pages? eg. by overriding the OnFormHandled method?
Or is there another way that I should be trying to do this?
Umbraco Forms V7 - skip empty pages
I have a multi-page form, with each page showing a single question. There are conditions that cause some questions to be hidden, but this then leaves an empty page with just the the 'next' and 'back' buttons.
Is it possible to extend the UmbracoFormsController so that the form skips past any empty pages? eg. by overriding the OnFormHandled method?
Or is there another way that I should be trying to do this?
If anybody needs this in the future, this is the code I used:
is working on a reply...