Hooks

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

Login to post comments

hook_form_alter

Roger Saner's picture
Roger Saner - Mon, 2009-10-12 12:33

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
asghar - Tue, 2009-10-13 03:37

Hello

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


hi

khanshakeeb - Wed, 2009-11-04 14:23

@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!