Copied to clipboard

Flag this post as spam?

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


  • Tobias Lopez 64 posts 210 karma points
    Aug 23, 2013 @ 08:34
    Tobias Lopez
    0

    Contour render the form on the "Thank you" page again

    Hi

    Is it possible to show the Contour Form on the "Thank you" page?

    Something like:

    @if (Model.SubmitHandled) {
        <p class="contourMessageOnSubmit">@Model.MessageOnSubmit</p>
        // Render here the form again
    } else {
        // Contour rendering the Form
    }
    

    I've already tried to remove the 'else{}' and leave the form rendering section just there.

    I have also tried: '@Umbraco.RenderMacro("", {})'

    Any suggestions?

    TJL

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 26, 2013 @ 09:25
    Tim Geyssens
    0

    How do you handle the form submit, redirect to specific page or just display the thank you text? And why would you want to show the form again :) ?

  • Jonathan Roberts 372 posts 1005 karma points
    Apr 29, 2015 @ 10:40
    Jonathan Roberts
    0

    Hi, I need to show the form again too as this form is a quick uploader type form where the form needs to render again and NOT show the Thank you message. Can this be done in Contour?

  • Tobias Lopez 64 posts 210 karma points
    May 30, 2016 @ 09:39
    Tobias Lopez
    0

    I dont think so. I wrote my own form builder.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies