Copied to clipboard

Flag this post as spam?

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


  • Nawaz 21 posts 74 karma points
    Mar 25, 2010 @ 14:30
    Nawaz
    0

    Default Value in Contour Form

    Hi

    I'm trying to set a checkbox to be checked by default, is there an easy way to do this ?

  • Comment author was deleted

    Mar 25, 2010 @ 14:36

    Hi Nawaz,

    You could just create a new fieldtype (a checkbox that is checked by default). Take a look at the Contour shared source code (containing all default components including field types).

    http://our.umbraco.org/projects/umbraco-contour-shared-source

    It should only need a minor adjustment to get the fieldtype you want

  • Bruce Clark 56 posts 80 karma points
    May 06, 2010 @ 20:18
    Bruce Clark
    0

    Hi Tim,

    I've seen you post this a few times, but looking at the shared source I'm still not sure how to create a new field type. Can you dive into this a bit deeper, or at least give a bit more info?

     

    Thanks,

    Bruce

  • Harald Ulriksen 207 posts 249 karma points
    May 07, 2010 @ 06:19
    Harald Ulriksen
    0

    Hi Bruce,

    have you checked the contour developer documentaiton at http://umbraco.org/products/umbraco-contour/help-and-support/developer-documentation?

    Based on this with the shared source it should be fairly simple to create a custom fieldtype. If this doesn't help, let me know what you need and I'll write a step by step guide.

    Cheers,
    Harald

  • Fergus Davidson 309 posts 588 karma points
    May 15, 2010 @ 23:15
    Fergus Davidson
    0

    hi harald

    i am in a similar situation. i am needing to come up with a new field type, but i am not clear how to go about it.

    i need an idiots guide - if you are able to do anything i would be most grateful.

Please Sign in or register to post replies

Write your reply to:

Draft