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
Have got a crazy Contour bug that I can't figure out and it's becoming urgent.
I've got a licenced version of Contour running on my local server. Licence is for chrisevans.co.nz so am running on chrisevans.co.nz.local. Licence file is in place.I set up a Contour form in the umbraco backend with four fields (to test the different types of inputs I need for my real form) and two simple workflows on submit - send an email and create a node using the supplied info.The form works perfectly in the Contour preview, renders fine, accepts inputs, validates, submits, redirects to thank you page and does workflows.I added the macro to render the form into my page to test it on the front end, by inserting it into a rich text editor as shown in the Contour video. It renders in the rich text editor on publish, but it doesn't render for real on the front end.
All I get are two buttons, Previous and Next.
My friend Peter Gregory suggested changing the modules line in my web.config from <modules> to <modules runAllManagedModulesForAllRequests="true"> as he said he'd encountered this error and this fixed it, not for me. I've also tried restarting the site and server, changing app pool from integrated to the Classic ASP.NET pool, etc.
Umbraco version : umbraco v
184.108.40.206 (Assembly version: 1.0.3441.17657)asp.net version : 3.5Windows 7 Ultimate, IIS7 (tried both Integrated and Classic ASP.NET pool, no change)Screenshot of form in preview: http://chrisevans.co.nz/screens/ContourPreview.pngScreenshot of form in frontend: http://chrisevans.co.nz/screens/ContourFail.png
Update: have now tried just inserting the macro directly into a template to see if it was a complication with the rich text editor; same result.This is the markup being rendered on the frontend:<div id="contour"><div
class="contourButton contourPrev" /><input type="submit"
class="contourButton contourNext" /></div></div>
I had a similar problem, only to find I hadn't wrapped a form tag with runat server around my contour macro?
yeah, It sounds like the form is not inside a form runat="server" element, so make sure your templates have <form runat="server"> included
Form tag is present, that was the first thing I checked based on the other posts here! :o)Problem is now resolved; after rooting through the stack trace I found that ControlCollection.Add was the issue. My master page had a codeblock on it - i.e. <% code in here %> on the page, which Contour apparently is incompatible with.Once that codeblock was removed, the form rendered.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted