Remove the label from the "File" field in the comment form.
Hello.
Please help me with the following question:
Drupal 7, I created a "File" type field (for attachments) for comments on the forum. Everything is fine, but I need to remove the label of this field in the comment form (for example, on this site - I need to remove the text of the legend element "Attach/File attachments"). It can't be done with standard methods since the label is mandatory; I either need to create a field template and remove the label or, as I understand it, use a hook in the theme's template.php. Neither option is working for me. I created a template for the field named "field--machine_name_of_field.tpl.php", cleared the cache, and tried to output a simple phrase using print. It's not displaying. I'm not sure if I've confused the template name or what. I would appreciate any help/advice/guidance. I'm not new to Drupal, but I understand the basics of the engine's internal structure, and I've solved many questions myself, but I'm stuck here.