- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2019 07:25 AM
I am trying to add a blue bar info message under a field with a client script. I want the info message to be several lines. How can I do a line break on the info message to have the message show on multiple lines? I want it to look like the below but I have tried a few different options and it just puts in on the same line.
5 - Exceeds
4 - Meets
function onLoad() {
g_form.showFieldMsg("u_review", ("5 - Exceeds" + + "4 - Meets"));
callback(saveAndClose);
}
Solved! Go to Solution.
- Labels:
-
Request Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2019 09:40 AM
I just put an alert to confirm.
You can comment out the alert line in your code.
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2019 09:18 AM
I have tried that it it works but not the look I am going for.