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).
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?
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.
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
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
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
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
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.
is working on a reply...