Copied to clipboard

Flag this post as spam?

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


  • Bandico0t 11 posts 48 karma points
    Jan 22, 2014 @ 09:45
    Bandico0t
    0

    Create custom field type like checkboxList

    Hello all. First excuse my english.

    Does anyone know how to create custom fieldtype for contour with render preview in form builder like CheckboxList.

    I want to make tree structure for CheckBoxList and i want be able to add items in my controls from contour form builder. Is it possible to do it and where i can find article about this.

    Regards, Anton

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jan 22, 2014 @ 10:07
    Ismail Mayat
    0

    Anton,

    Take a look here http://our.umbraco.org/projects/umbraco-pro/contour/documentation http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Extending-Contour/Adding-a-Fieldtype

    also there is some sample code http://www.nibble.be/?p=89

    Regards

    Ismail

  • Bandico0t 11 posts 48 karma points
    Jan 22, 2014 @ 10:37
    Bandico0t
    0

    Ismail, thanks for your answer. I've seen it before. This sample make possible to add custom field type, looking like textarea, but with some additional functionality. I want to create field type, that look like this. Is it possible?

    enter image description here
    If it doesn`t possible, how i can make possible specify prevalue source for my field type?

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jan 22, 2014 @ 10:40
    Ismail Mayat
    0

    The source for all the main field types can be found here http://contourcontrib.codeplex.com/releases/view/59359 so you can look at the source for the one in image and work with it?

    Regards

    Ismail

  • Bandico0t 11 posts 48 karma points
    Jan 22, 2014 @ 11:06
    Bandico0t
    0

    Ismail, is this link still valid? I was downloaded contrib, but not found any source about field like CheckBoxList. This download contains source for label and Captcha.

    Maybe I misunderstood you?

    Regards, Anton

  • Comment author was deleted

    Jan 22, 2014 @ 11:19

    Yeah link from Ismail are community addons, for the default fieldtypes check http://our.umbraco.org/FileDownload?id=5060

  • Bandico0t 11 posts 48 karma points
    Jan 22, 2014 @ 11:34
    Bandico0t
    0

    Tim, Ismail, thanks for help. This is what i want!

Please Sign in or register to post replies

Write your reply to:

Draft