Hey guys! I've got a slight problem, for my project we have essentially setup multi-page forms to work off of separate forms instead of pages (part of the requirement. I've managed to get the previous button working using the FormViewModel "previousclicked" and redirecting it how i wish.
The problem remains with the two other buttons I wish to have "save" and next". Save should do a submit and redirect to the current page, next should do a submit and redirect to the 'next page', i.e. the next form. I can do one or the other by having the xPath populated on the form, I can't do both however.
I tried to override the default UmbracoFormController to deal with this but there is no override there. Is there a more simple method to deal with this?
Overwrite default "next page" functionality.
Hey guys! I've got a slight problem, for my project we have essentially setup multi-page forms to work off of separate forms instead of pages (part of the requirement. I've managed to get the previous button working using the FormViewModel "previousclicked" and redirecting it how i wish.
The problem remains with the two other buttons I wish to have "save" and next". Save should do a submit and redirect to the current page, next should do a submit and redirect to the 'next page', i.e. the next form. I can do one or the other by having the xPath populated on the form, I can't do both however.
I tried to override the default UmbracoFormController to deal with this but there is no override there. Is there a more simple method to deal with this?
is working on a reply...