Copied to clipboard

Flag this post as spam?

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


  • Liam Burke 2 posts 22 karma points
    Mar 27, 2013 @ 17:44
    Liam Burke
    0

    Contour submit does nothing and breaks previous form solution

    Hi,

    I purchsed Contour today and have followed the instructions to make a very simple email contact form.

    I am not a programmer which is why I thought it would be better to pay for a product rather than attempt to use one of the free projects.

    I have a test page http://www.schoolradio.com/contact-us-(1).aspx but when you click on Submit absolutely nothing happens.

    Having found a few similar previous posts I have checked the SMTP settings in web.config and that is OK. I have also added a default sender to the config/umbracosettings.config file

    This is now fairly urgent as eitehr installing the package or the changes I have made have stopped the original email form (the one which was included in the webpage template I started with) from working. I need to get one or the other working again ASAP.

    I have rasied this with Umbraco support but wondered if anyone here had any ideas.

    Thanks

    Liam

  • MK 429 posts 906 karma points
    Mar 27, 2013 @ 18:08
    MK
    0

    Just wrap your contour tag with this so we can help you with it:

     

     <form runat="server">   Contour goes herer  </form>


    Regards,

    mkariti

  • Liam Burke 2 posts 22 karma points
    Mar 27, 2013 @ 18:12
    Liam Burke
    0

    Update - remove the

    tags from the master template fixed previous email form but breaks contour. Where would I need to put the

    tags in order for them to only effect the page. Looking at the source for the page, there is a form tag used in the search section, I read somewhere you could only use one per page, is that right? If so what should I do?

     

    Sorry for some reason I cannot post a reply.

    Hi mkariti

    Sorry but I am fairly rubbish at this. Do you mean like this?

    I have added <form runat="server"> just before the umbraco macro holder DIV amd closed it just after the macro end DIV tag but it is not working.

    I also tried it just after and before the body tags as suggested but the form tag for the search sits inside this.


    I can add the tags to the main template file which makes it display the contour form but breaks the old one on the site. That is fine for short term testing, should I do that?

    Thanks

    Liam



     

  • MK 429 posts 906 karma points
    Mar 27, 2013 @ 18:17
    MK
    0

    Yes you can only use 1 form tag per page.

    Try to wrap the whole HTML in 1 form tag - i.e put the tags after the <body> and before the </body>

     

Please Sign in or register to post replies

Write your reply to:

Draft