Copied to clipboard

Flag this post as spam?

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


  • Fergus Davidson 309 posts 588 karma points
    Mar 15, 2010 @ 18:49
    Fergus Davidson
    0

    multiple forms on page leads to invalid mark-up

    i have some pages with multiple Contour forms on.

    the site design has a newsletter subscription form on every page in the footer, which is made up of a single field for email and a button.

    on pages which contain a form in the main body of the page, i then have two forms on one page.

    the problem is this:

    the mark-up produced by Contour wraps the form in an unnecessary div [id=contour], this means i have two identical id's on a single page.

    is it possible to either rename the id, or ideally remove this div altogether.

    is it possible to control the markup of the form to avoid various other spurious mark-up items:

    h4, div around input, div around button

    is it possible to control the names of the various form items?

    many thanks

     

  • Fergus Davidson 309 posts 588 karma points
    Mar 15, 2010 @ 18:59
    Fergus Davidson
    0

    alternatively, can i build a custom form which will submit in such a way as to allow me to use all the nice back-end bits of contour?

  • Fergus Davidson 309 posts 588 karma points
    Mar 16, 2010 @ 10:47
    Fergus Davidson
    0

    right, i finally found a couple of posts that deal with some of my issues, so for anyone else:

    http://our.umbraco.org/forum/umbraco-pro/contour/6682-multiple-forms-on-same-page-a-problem

    http://our.umbraco.org/forum/developers/api-questions/5330-Umbraco-Contour-questions

    these pages help [to some degree] with the problems above, among others. 

Please Sign in or register to post replies

Write your reply to:

Draft