Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm having some challenges trying to get a multi-step form to work in Umbraco 9 using a ViewComponent.
My post method looks like this:
public IActionResult SubmitForm(IndmeldelsesformViewModel model)
and my ViewComponent is a simple one like this:
public IViewComponentResult Invoke()
return View(new IndmeldelsesformViewModel()
CurrentPage = 1
I can submit the form, but I'm having trouble figuring out how to retain the view model. How do I modify the view model in the SubmitForm function and return it to the ViewComponent?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted