Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andy Boston 28 posts 47 karma points
    Mar 10, 2015 @ 12:44
    Andy Boston
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 10, 2015 @ 12:59
    Dennis Aaen
    0

    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

  • Andy Boston 28 posts 47 karma points
    Mar 10, 2015 @ 13:37
    Andy Boston
    0

    Thanks Dennis, I'll take a look :)

  • Andy Boston 28 posts 47 karma points
    Mar 10, 2015 @ 15:18
    Andy Boston
    0

    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?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 10, 2015 @ 15:31
    Dennis Aaen
    0

    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

  • Andy Boston 28 posts 47 karma points
    Mar 10, 2015 @ 15:50
    Andy Boston
    0

    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 :)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 10, 2015 @ 15:53
    Jan Skovgaard
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft