How to add line breaks to an error/info/warning message
Question

Hi all,


I have been trying to add line breaks to error/info/warning messages with no joy. I have tried NewLine(), <br> and <br/> but none of them have worked.


Any suggestions?


Thanks!

mvp_badge
MVP

Hi Nicholas,

Try the solution provided in this post

It should works the same for Reactive Web Apps.

Regards,

Nordin

mvp_badge
MVP

Hello there Nicholas,

Hope you're doing well.


Please consider to use this component: https://www.outsystems.com/forge/component-overview/9691/feedback-message-utils-reactive


Behind the scenes, it implements JavaScript Feedback Message API.


The action ShowFeedbackMessageCustom allows you to control if you want to escape HTML characters or not.

Just use it with the EncodeHTML input parameter as False.

You should use <br/> code to add a new line :)


Hope that this helps you!


Kind regards,

Rui Barradas

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.