g_form.showFieldMsg background width adjustment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2015 12:36 PM
The background of this message is displayed across the form from left to right.
g_form.showFieldMsg('impact','High priority');
How can I reduce the background size to limit it to the length of the sentence. No need of extra back ground.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2015 01:03 PM
You can add html into your message in that way you can remove the extra background try making the bgcolor same as your form background color.
Adding HTML Example:
g_form.addErrorMessage('[b]From Error Message(Bold)[/b]');
In the same way it should be available for showFieldMsg also but i m not sure about this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2015 02:16 PM
I tried it in my instance and its look like its not possible to add html in showFieldMsg. Anyways you can refer to » UI Info and Error Message Cheat Sheet it is very helpful page that gives you info about how to use info and error msg fields