- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2022 06:25 AM
Hi All,
I need a label on one of my custom form stating some info as shown in below attached image.
Please assist
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2022 01:34 PM
Hi
I'm not understanding your reply and it sounds like you know more as to what you're looking for.
It's very unfortunate if that is true as you can easily state all that in your original post.
What you literally asked for in your original post, is what I provided, and went above and beyond to actually replicate it within my own instance to show you a working result.
What I showed has... "multiple spaces". If you're referring to line break, meaning new lines, etc. then please use the appropriate verbiage so we know and then give an example of the exact text, as again, in your original post, you did not say or show that.
If new lines is what you're talking about then you can use this for example:
var string = "For further guidance on the process please <a href='https://url.com'>click here</a> <p>Line 2</p> <p>Line 3</p>";
g_form.addInfoMessage(string);
The goal here is for you to take it from here and tweak as needed. Please take it from here.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2022 06:30 AM
Hi,
You can create an onLoad client script with the following script to accomplish that:
g_form.addInfoMessage("For further guidance on the process please <a href='https://url.com'>click here</a>");
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2022 09:14 AM
the text has multiple spaces , actually line which is not being considered as string. Thats it what coming as error.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2022 01:34 PM
Hi
I'm not understanding your reply and it sounds like you know more as to what you're looking for.
It's very unfortunate if that is true as you can easily state all that in your original post.
What you literally asked for in your original post, is what I provided, and went above and beyond to actually replicate it within my own instance to show you a working result.
What I showed has... "multiple spaces". If you're referring to line break, meaning new lines, etc. then please use the appropriate verbiage so we know and then give an example of the exact text, as again, in your original post, you did not say or show that.
If new lines is what you're talking about then you can use this for example:
var string = "For further guidance on the process please <a href='https://url.com'>click here</a> <p>Line 2</p> <p>Line 3</p>";
g_form.addInfoMessage(string);
The goal here is for you to take it from here and tweak as needed. Please take it from here.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2022 10:14 AM
Store the string in a variable first, then pass the variable in showmessage function, it should work for you
Aman Kumar