Hello Umbraco folk,
I’ve been looking at allowing the user to change the redirect page for a form with a content picker on a page (defaulting back to the redirect set on the form if not set).
I found the field redirectToPageId to which I can pass a GUID in of the page (as explained in the docs). Unfortunately, I can’t get this to work - it always redirects the user to the redirect set in the default form workflow.
I’m rendering using the component like so:
@await Component.InvokeAsync(“RenderForm”, new { formId = config.FooterForm, theme = “custom”, redirectToPageId = redirectPage.Value })
Where redirectPage is a Guid? driven by a content picker. I’ve tried passing in a GUID and an integer - neither work. I also tried the redirectUrl param (just in case!)
Have I found a bug here or am I doing something daft?
Thanks!