I'm no stranger to Umbraco but I am a relative noob when it comes to Contour. I think it's a great tool to empower users however I have a couple of issues and appreciate any advice on tackling them:
One of the major downsides is the form markup forced by contour, as far as I can tell there is no way to override this which sometimes makes it very difficult to implement some specific designs/layouts.
Why is there a tooltip setting when in fact it doesn't apply a tooltip to the field it simply appends it inside <small> tags after the form field meaning having to implement client-side hacks to get it where it should be and that's as a tooltip for the form field.
I may of course have missed or overlooked obvious solutions to these initial problems so would appreciate any feedback.
I think a lot of users, including me, agree that there could be a lot more flexibility of the markup that is rendered. For example there are some issues with legend, and the <small> tooltip is strange also.
You may already know this, but just FYI, you do have *some* level of control by modifying /usercontrols/umbracoContour/RenderForm.ascx, but not as much as you'd probably like, as things like the legend and tooltips are rendered in Literals.
Otherwise at the moment you might need some jQuery hacks to get the markup you want.
Not sure if there are any plans to add more control, however I think it would be a good start to include more markup such in the RenderForm.ascx so it can be overridden, instead of Literals that get populated with markup.
Hey Tom, hope you had a great xmas and happy new year!
Thanks for the tip on editing RenderForm.ascx but as you say the control is limited! Is there any official word on addressing these issues or a roadmap for Contour?
We are also working on porting Contour to v5 and one of the things we'll improve is to make it possible to have more control over the markup and validation
Controlling markup of forms
I'm no stranger to Umbraco but I am a relative noob when it comes to Contour. I think it's a great tool to empower users however I have a couple of issues and appreciate any advice on tackling them:
Hi Simon,
I think a lot of users, including me, agree that there could be a lot more flexibility of the markup that is rendered. For example there are some issues with legend, and the <small> tooltip is strange also.
You may already know this, but just FYI, you do have *some* level of control by modifying /usercontrols/umbracoContour/RenderForm.ascx, but not as much as you'd probably like, as things like the legend and tooltips are rendered in Literals.
Otherwise at the moment you might need some jQuery hacks to get the markup you want.
Not sure if there are any plans to add more control, however I think it would be a good start to include more markup such in the RenderForm.ascx so it can be overridden, instead of Literals that get populated with markup.
-Tom
Hey Tom, hope you had a great xmas and happy new year!
Thanks for the tip on editing RenderForm.ascx but as you say the control is limited! Is there any official word on addressing these issues or a roadmap for Contour?
Simon
Comment author was deleted
You can enable some additional params on the render form macro that will allow you to specify the tag used for the page name and fieldset
To have complete control take a look at: http://our.umbraco.org/projects/website-utilities/cultiv-restcontour
We are also working on porting Contour to v5 and one of the things we'll improve is to make it possible to have more control over the markup and validation
Thanks Tim!
is working on a reply...