I'm using Contour 3.0.9 on Umbraco 6. I have a page containing 9 lightboxes which are rendered as hidden divs and each lightbox contains the same Contour form. The forms are rendered in the view using the Umbraco.RenderMacro() method rather than via a rich text editor.
When I submit the form it seems to be saving 5 times (I'm getting 5 submissions against the form in Contour and receiving 5 emails).
I'm also getting some odd results with client-side validation. The first form validates without any problems, however if I submit any of the other forms and they are invalid the page simply reloads.
Is it possible to have multiple instances of the same form on a page?
Just tested with 3 forms on the page and that works fine, using webforms rendering engine are you also using webforms as the rendering engine or is it MVC ?
Just tested this with MVC rendering engine and I can't reproduce...any chance I can take a look at the site, you can mail details to tg at umbraco dot com
Multiple form instances on the same page
Hello,
I'm using Contour 3.0.9 on Umbraco 6. I have a page containing 9 lightboxes which are rendered as hidden divs and each lightbox contains the same Contour form. The forms are rendered in the view using the Umbraco.RenderMacro() method rather than via a rich text editor.
When I submit the form it seems to be saving 5 times (I'm getting 5 submissions against the form in Contour and receiving 5 emails).
I'm also getting some odd results with client-side validation. The first form validates without any problems, however if I submit any of the other forms and they are invalid the page simply reloads.
Is it possible to have multiple instances of the same form on a page?
Regards,
James
Comment author was deleted
Just tested with 3 forms on the page and that works fine, using webforms rendering engine are you also using webforms as the rendering engine or is it MVC ?
Hi Tim,
We're using MVC.
I've just tested a few other forms on different pages without lightboxes and get the same problem.
Comment author was deleted
Ok will give it a test with MVC then
Comment author was deleted
Just tested this with MVC rendering engine and I can't reproduce...any chance I can take a look at the site, you can mail details to tg at umbraco dot com
is working on a reply...