Hi, I have big node edit page, and need to

a) put all of the cck input fields in table
b) stylize using css - in this case i need to wrap cck fields - including a labels - in

tags

some of them are just "div.form-item" and i'd like to stylize them independently, I don't like a tables, but I think, in this case, this would be the best option

many thanx

Comments

markus_petrux’s picture

Status: Active » Fixed

Try using hook_form_alter() and here you can append a #pre_render callback. Also, see drupal_render().

A #pre_render callback at form level gets the $form as its first and unique argument. Then just explore the structure of this data. You can add for example #prefix and #suffix attributes to any element.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.