function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Amita TatarAmita Tatar 

Display message while entering data on edit page fields

Hi guys,

I have a requirement where i want to display some alert message like the 'hover over' functionality in salesforce, so that when user clicks on that text box of a particular field should get that message flashed. How can we do that in salesforce? Please help
Ekta Gupta 11Ekta Gupta 11
Hi Amita,
You want message on standard page or on VisualForce?

If Standard: Add your message on HelpText of your field
If Visualforce : Add 'onmouseover'  event on <apex:inputText> and call your javascript fuction where in you can display the message section.

 
Amita TatarAmita Tatar
Hi Ekta,

Thanks for your reply. That is helpful