Drupal form-api: #field_prefix doesn't work on textfield in PHP Server Side Scripting Language?



Report

1 Answer(s) available

8 


My guess is that as a CCK field field_contenttype_fieldname isn't actually a textfield, but a custom FormAPI field CCK provides that's like a textfield, and as such it doesn't consume the field_prefix attribute.

Try print_r()ing that field out of the $form and see what its #type is.



Report

Related Questions