Drupal Technical
[CiviCRM] How to add Help in CiviCRM form elements?
It will be nice to have an icon and a popup help text for items that you need to give give some explanations. We can use CiviCRM help system for that. See how it can be done.
create .hlp file in the same folder of the form .tpl file.
In the .tpl file and add help tag as follows.
{help id="preview" file="CRM/Wci/Form/CreateWidget"}
In the .hlp file add help text as following sysntax
{htxt id="preview"}
{ts}message to show.{/ts}
{/htxt}
Your help icon will be visible after doing this.