By default you'll need to use the contour macro to insert the form (which is a .net usercontrol).
But Sebastiaan has made a great extension http://our.umbraco.org/projects/website-utilities/cultiv-restcontour that makes it possible to submit records to Contour by using base (so by posting to a url). If you use that you have complete control over your form markup and no need for an form with runat server attribute.
Sure you can hook code on different states of the record lifecycle (like when it's submitted) by adding a workflow to your form. It's also possible to create custom workflow types, for that check out the Contour developer docs (http://our.umbraco.org/projects/umbraco-pro/contour at the bottom of the page) and the Contour shared sourcecode to get started (http://our.umbraco.org/projects/umbraco-contour-shared-source)
Markup customization
Hi! Contour is brilliant.
For one site I have some specific requirements for the markups so I like to ask
Does Contour depend much on web form controls, so there's no possibility to go without asp:form?
Can I change the produced form / label / input-markup someway if I need?
And a third question that has not anything to do with the markup, can I use my own email provider to send a confirmation message? (I guess so)
Cheers
Jonas
Comment author was deleted
Hi Jonas,
By default you'll need to use the contour macro to insert the form (which is a .net usercontrol).
But Sebastiaan has made a great extension http://our.umbraco.org/projects/website-utilities/cultiv-restcontour that makes it possible to submit records to Contour by using base (so by posting to a url). If you use that you have complete control over your form markup and no need for an form with runat server attribute.
Sure you can hook code on different states of the record lifecycle (like when it's submitted) by adding a workflow to your form. It's also possible to create custom workflow types, for that check out the Contour developer docs (http://our.umbraco.org/projects/umbraco-pro/contour at the bottom of the page) and the Contour shared sourcecode to get started (http://our.umbraco.org/projects/umbraco-contour-shared-source)
Ah, thanks, perfect!
is working on a reply...