Currently there is no way of editing the HTML directly - The only way of changing it is by doing it in the general logic as described in the links Dennis provided you earlier in this post.
Alternatively you'll need to overwrite the classes as you seem to have already done. But does the end result not look as desired?
Div, divvy divs
Is there a way to edit the fields in the form so they use divs for layout?
I can't find where to edit the markup
Any help would be greatly appreciated
Hi Andy,
Yup with Contour or Umbraco forms you have full control over your markup.
If you are using Contour take a look here. https://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Custom-Markup/
If you are using the new Umbraco Forms take a look here. https://our.umbraco.org/documentation/Products/UmbracoForms/Developer/Custom-Markup/
Hope this helps,
/Dennis
Thanks Dennis, I'll take a look :)
Ok, it helps general layout but I still don't see how to put two fields next to each other using bootstrap.
eg
<div class="col-md-6">field 1</div>
<div class="col-md-6">field 2</div>
etc
any ideas?
Hi Andy,
What exact version of Umbraco are you using, and are you using Contour or the new Umbraco Forms.
Looking forward to hear from you.
/Dennis
I'm using new umbraco forms.
I've kind of done it by overwriting the classes already there but it's not exactly what i'm after.
It would nice to be able to edit the html direct but hey ho :)
Hi Andy
Currently there is no way of editing the HTML directly - The only way of changing it is by doing it in the general logic as described in the links Dennis provided you earlier in this post.
Alternatively you'll need to overwrite the classes as you seem to have already done. But does the end result not look as desired?
/Jan
is working on a reply...