Hello,

On the node add form I am trying to add custom text under the vocabularies label. For example, for the "page" content type, it uses a vocabulary called "page categories." On the node add form (node/add/page) I want it to display some custom text that I will manually add right under the label of "Page Categories."

Anyone know how to do this?

Thanks!

Comments

HFlame7’s picture

?

GDrupal’s picture

You need to write a form_alter hook, Check this link:

http://drupal.org/node/651106

----------------------------------------------------------
G.A. Martin, Drupal Developer.

HFlame7’s picture

Thanks! I'll take a look into it.

spovlot’s picture

Did you try setting the taxonomy vocabulary help text? You can find this under the Taxonomy | Edit Vocabulary under Help Text .

Scott

ishmael-sanchez’s picture

Although the hook_form_alter is the best way to do this you can probably do this using jQuery .append()

HFlame7’s picture

Thank you everyone for the new comments. I will continue to look into the answers that you all provided. Spovlot, I had actually forgotten about that, but it won't work for me though because I need to use some html tags instead of just plain text.

tanitani’s picture

The help text can take HTML tags (Manage fields section of the edit Content Type).
You are looking for something that should be a configurable aspect: that the help text appears under the field label or under the actual field.