Hooks

Events happening in the community are now at Drupal community events on www.drupal.org.
asghar's picture

Helllo To all

I am developing a module for this i want to add some check boxes in node form of any node type selected by user but i do not know which hook i use for this

Comments

hook_form_alter

burningdog's picture

You're probably looking at hook_form_alter, but if you're adding checkboxes, why not just use CCK?

A more useful place to ask for help is on the support forum of drupal.org. There are about 200 members of the South Africa group; there are about 500,000 members on drupal.org - which is why you're more likely to find help there ;)

Alternatively, jump onto irc.

Thanks

asghar's picture

Hello

Thanks i have also this issue i have used form alter function

hi

khanshakeeb's picture

@asghar
Roger Saner is right use modulename_form_alter(); and check node type which you want

got it! if still you have issue send us a small code snippest

Best of Luck!