Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
optionwidgets.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2010 at 02:02 UTC
Updated:
15 Oct 2010 at 14:40 UTC
Comments
Comment #1
voxy commentedAnyone?
Comment #2
mikey_p commentedI believe you can set this by visiting the configure page for that field an expanding the default value field set and setting the option there.
Comment #3
voxy commentedHi,
thanks for your answer but I already tried this. It's not what I'm looking for.
Comment #4
voxy commentedI fixed my problem.
After spending some times in the code of the module (in the pages.inc of the custom module), I found those lines :
the field_concours_optin was the one I wanted to checked by default if I want to. So I created a single checkbox (field_defaultchecked) with 2 values :
0|
1| Check by default
in the admin, and I added these lines :
AND IT WORKS!!!
Comment #5
voxy commented