Copied to clipboard

Flag this post as spam?

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


  • Mark 3 posts 23 karma points
    Mar 30, 2011 @ 06:05
    Mark
    0

    Umbraco Contour will only work properly if placed inside a <form runat="server"> tag.

    Receiving the above error on ii7, windows 7, IIS, umbraco v4.7.0

    Created a form with one text field

    Tried to add it to a tinyMCE field this showed up

    =========begin===========

    Contact

    Receive Newsletter
    Email
    Please enter email address.
    ==========end===========
    Then when i went to the page got the message

    Umbraco Contour will only work properly if placed inside a <form runat="server"> tag.
    put a form tag with runat=server in the master template
    still received the message
    Thanks!
  • Comment author was deleted

    Mar 30, 2011 @ 14:25

    Hi Mark,

    Yeah that's because the Contour form is an asp.net usercontrol.

    So you'll need to make sure that this is added inside a form with runat server attribute

    <form runat="server"></form>

     

  • Mark 3 posts 23 karma points
    Mar 30, 2011 @ 16:42
    Mark
    0

    Solution: removed nested form elements and relocated the runat attribite for asp.net form around

  • Scott McCown 15 posts 37 karma points
    Sep 01, 2011 @ 20:00
    Scott McCown
    0

    Mark, could you explain a bit more how you solved this? I'm still having the same error with Contour w/ Umbraco 4.7.0 on IIS6/Server 2003. 

  • Mitch Olinsky 31 posts 51 karma points
    Sep 23, 2011 @ 15:00
    Mitch Olinsky
    0

    I'm running into the same issue.  Mark, could you elaborate?

    Actually, I just figured out a fix.  I was trying to put the <form> tag in the content, which did not like it.  When I put it in the template, it worked.  However, I would prefer if I didn't need a special template for forms.

Please Sign in or register to post replies

Write your reply to:

Draft