So we have quite long End-user help texts on some fields. Is there a way to expand the message window so that the user can see the whole text and not having to go to Actions and Form help?
I'm guessing at least it should be in some CSS code...?
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
So we have quite long End-user help texts on some fields. Is there a way to expand the message window so that the user can see the whole text and not having to go to Actions and Form help?
I'm guessing at least it should be in some CSS code...?
Hi Mikeala,
We have run into that issue too.
The default is 200px width and 10em height.
.helptexttip .tooltip-inner {
max-width: 200px;
max-height: 10em;
}
The following css would make it bigger, but you could find exactly the size that works for you.
.helptexttip .tooltip-inner {
max-width: 600px;
max-height: 20em;
}
Note that I usually add a class to my forms so that my css won't conflict outright with SBM's defaults, unless I want it to.
So the selector would be:
.bigHelpForm .helptexttip .tooltip-inner {
max-width: 600px;
max-height: 20em;
}
Where you add the class "bigHelpForm" to the body (i.e. jQuerySBM('body').addClass('bigHelpForm'))
Mikaela, are you using quick forms or custom forms?
If the latter, try adding a HtmlJavascriptWidget to the page with the following content:
<style>
body .helptexttip .tooltip-inner \{
max-width: 600px;
max-height: 20em;
}
</style>
This increases the specificity of the CSS selector, which should give you the following:
If the prior and you are updating the actual css, I'm surprised that didn't work, unless SBM has multiple versions of that file. You could add a similar rule to one above at the end of the bootstrap-tooltip.css file with the increased specificity. That should override the display value.
We use custom forms in legacy mode (we have been going for a while...)
I can't get this to work :( I did add a HtmlJavascriptWidget to the form with your code, I can see it's there in debug window but no change on the size of the tooltip box
You might have to do a "Refresh Cache" or "Clear Template Cache" Admin action or both. See KB S133438 and S143372.
Don't forget that any changes you make to template files under "Application Engine" will get over-written the next time IIS on the AE sever is restarted. You'll need to do a System Administrator "Put Files To Database" once you get the changes working.
And. Your changed template files will probably get overwritten the next time you do an SBM upgrade. If you're like us you'll have forgotten all about the modified template files by that time.
Try placing the HtmlJavascriptWidget at the beginning of the form. Can you get it work on a test process app? Perhaps, try a form that is not in legacy mode.
On a side note, it is often possible to simply uncheck the legacy mode box and have the form work as expected.