By eliza411 on
Is there a straightforward way to reposition the "help" or "description" text that is routinely displayed *after* a field on a form so that it appears directly below the field title?
Is there a straightforward way to reposition the "help" or "description" text that is routinely displayed *after* a field on a form so that it appears directly below the field title?
Comments
Solution
In case others are trying to do this, I succeeded by adding the following lines to my template.php file:
And then creating a form_element.tpl.php file that looked like:
I just wanted to say thanks
I just wanted to say thanks for this! Works excellent with Drupal 4.7.6 and webform module. Great code.
Miracle!!!!!!
After searching for this for HOURS today, this code worked FABULOUS, and it was up and working in under 2 minutes!
Thank you so much!
Where should the
Where should the form_element.tpl.php file be saved? Same folder as template.php? O and is the template.php file that you need to edit the one specific to the template you have applied to the site?
Dill
I saved the
I saved the form_element.tpl.php file in the same folder as the template.php file and the template.php is the base file that holds all your functions, literally template.php, not one of the tpl.php files.
Hope that helps.
Tried this, but if I have
Tried this, but if I have the form_element.tpl.php in my theme folder the webform field name stop showing??
Position of help text - D6
>Is there a straightforward way to reposition
>the "help" or "description" text that is routinely
>displayed *after* a field on a form so that it
>appears directly below the field title?
I tried eliza411's solution in 6.6. Didn't work. Any programmers out there willing to whip up a version of this for D6? I need to have help text above the text boxes in forms. People sometimes don't see the help text at the bottom on big text areas.
I could also really no with
I could also really no with help on this if anyone can!
Thanks
Adam
Here's some Drupal 6 compatible code that works
This should be helpful:
http://drupal.org/node/178247#comment-1449806
I've just written a module
I've just written a module for Drupal 7 that offers a solution to this problem:
http://drupal.org/project/label_help
----------------
Customer Support Engineer, Granicus
https://granicus.com