Greetings. I am trying to display validation messages on UI in separate lines, i have formed the message and set to a property, in clipboard i can see the property has value in separate lines but i do not see that view on UI, it displays in a single line, I am on Pega 24.2.2, using Constellation.
@KOMARINAPretty sure that new line character as escaped to prevent UI breaking. At the same time I am not aware of way to display this message in multiple lines.
@MarcCheong Hi, Greettings, yes, this is fine but i need to duplicate the same property by splitting the messages into 3, which is kind of a hack, i have many validations like this which i have to do changes in all validations i am trying to avoid and see if other alternatives can be found.
@KOMARINA its not really a hack, if you want multiple messages then you need to put multiple messages in your validations. Attempting to add HTML to a control that doesn’t support HTML would not be the right OOTB way of achieving this.
I’m afraid, I don’t know of any other way for you to achieve this further, not without your own front end (Pegasystems Documentation) but I’d suggest that is overkill. Either create separate error messages or one combined one - both are easy to achieve.