Copied to clipboard

Flag this post as spam?

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


  • Dave 2 posts 22 karma points
    Mar 29, 2012 @ 14:35
    Dave
    0

    Submit causes page to reload with empty form

    I've just installed Contour onto a site, but it doesn't seem to be working correctly.

    I can create/edit forms in the backend, then insert them into a page using the macro. The form displays on the front-end page okay, but pressing the submit button just causes the page to reload with all of the form fields now blank. It's not activating any workflow events, or saving the data.

    Umbraco version: 4.7.1.1 (Assembly version: 1.0.4393.24044)
    Contour version: 1.1.12
    ASP.NET : 4.0.30319
    Windows Server 2008 R2 Enterprise

    I have a licence which I believe is working okay, because the licence message in the backend has disappeared.

    I've tried uninstalling and re-installing, but the same problem remains. We've used Contour on other sites on the same server with no such problems, so I'm at a bit of a loss as to what to try next.

    Hope someone can help!

  • Comment author was deleted

    Mar 29, 2012 @ 16:47

    Hey Dave,

    Does your form work in preview mode?

    Most likely there is something on your template that is causing this.

    So first try in preview, if that works try it on a simple template...

  • Dave 2 posts 22 karma points
    Mar 29, 2012 @ 18:34
    Dave
    0

    Thanks Tim, that was very helpful. It was an issue on the template - there was a button elsewhere on the page which had a PostBackURL set. For some reason this completely breaks all other buttons on the page, including the Contour submit button.

    My be a wider .NET issue related to UrlRewriting - http://www.velocityreviews.com/forums/t620155-postbackurl-breaks-url-rewrite-bug-or-unwanted-feature.html

    Cheers, Dave

Please Sign in or register to post replies

Write your reply to:

Draft