I have a drupal app and I want to have a field as checkbox, so, when I create/edit a content type, it appears like the title and the description, and if I check it, all of the nodes with that type will have that field checked. Some ideas? Thank you in advance
1条回答 默认 最新
douzhi4830 2013-09-25 05:26关注Please go to the form where you want to add the field.
View source, you will get
form_idthere.Get the
form_idto use in one of the following form alter hooks.Alter the form using hook_form_alter or hook_form_FORM_ID_alter
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报