Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • james whittington 19 posts 119 karma points c-trib
    Feb 25, 2022 @ 03:29
    james whittington
    0

    Umbraco forms submit clearning query string

    Hi there,

    I have an Umbraco form that I am rendering on a page using altTemplate=form

    Everything works fine up until the form is submitted, at which point the query string is stripped out and the page returns without the altTemplate value.

    This means the user loses access to the message on submit, as the altTemplate was responsible for rendering that.

    Is there any way to keep the query string intact on submit?

    Thanks,

    James

  • james whittington 19 posts 119 karma points c-trib
    Feb 25, 2022 @ 03:30
    james whittington
    0

    also. How do I post questions to particular section of the forums? They always just end up in "Using Umbraco and Getting Started" ??

  • Ben McKean 272 posts 549 karma points
    Aug 30, 2023 @ 16:18
    Ben McKean
    0

    Hi James,

    Did you ever resolve this? I'm having the same issue.

    Thanks

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Aug 30, 2023 @ 17:30
    Huw Reddick
    0

    You probably need to use a hidden field in your form, you can then retrieve it and redirect to the correct view.

Please Sign in or register to post replies

Write your reply to:

Draft