Adding tooltips to fields with ease

bsoremsugar —  July 23, 2012 — 4 Comments

I love to use the Sugar Forums as a source of inspiration for helpful developer posts. As part of my daily ritual of digging thru the interesting content, I came across this question

i would like to know, if it is possible to create tooltip for some fields via Studio or Php-code? if Yes how am i suppose to do it? Thx

Why yes, this is something very easy to do thru Studio, as pointed out by one of the stallwarts of the Sugar Community, Cedric Mourizard of Synolia.

The first way is the easiest thing to do without doing any code changes. Simply set the Help Text attribute in Studio for the field to whatever help text you”d like to be displayed to the user, and when they hover over the field it will be shown to them.

The other way is by setting the ‘popupHelp’ attribute in the vardef for the field itself. You can put either a string directly in here, or a reference to one that is in a language file, and then next to the field in the Edit and Detail views you will see an ‘i’ icon which you can click on the see the help text you define.

Thanks Cedric for this tip!

4 responses to Adding tooltips to fields with ease

  1. 

    Is there a way of utilising this to link to external help or information pages? I would like an “i” button which when clicked opens a new tab with a page from our intranet.

Trackbacks and Pingbacks:

  1. SugarCRM 6.5 General Availability | SugarCRM 6.5 Improvements | CRM Blog - October 25, 2012

    [...] Adding tooltips to fields with ease – SugarCRM – I love to use the Sugar Forums as a source of inspiration for helpful developer posts. As part of my daily ritual of digging thru the interesting content, I came across this question… i would like to know, if it is possible to create … Related Posts:Review of Sugar Social CRM IntegrationHonest Salesforce Review – Strengths and Weaknesses of Salesforce.comSugarCRM Download – Benefits of SugarCRMSugarCRM PluginsCRM for Macs – Apple Mac Customer Relationship ManagersSearch terms for Compare CRM:free download sugarcrm 6 5 versionsugarcrm 6 5 free downloadsugarcrm ce 6 5 demodynamics crm 2011 todays date year month day timesoftware sugar 6 5 demo downloadsugar crm 6 5 user license price on-premise on-site on-premise buy buysugarcrm 6 5 full free downloadsugarcrm 6 5 recurring taskUpgrade to SugarCRM 6 5 [...]

  2. SugarCRM Tips | SugarCRM Tips Tricks | SugarCRM List View Tutorial | CRM Solution Comparison - May 17, 2013

    [...] Adding tooltips to fields with ease – SugarCRM – I love to use the Sugar Forums as a source of inspiration for helpful developer posts. As part of my daily ritual of digging thru the interesting content, I came across this question… i would like to know, if it is possible to create … [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s