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
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
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?
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.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
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?
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.
is working on a reply...