Why the line break is not working?

Community Alums
Not applicable

Hello! I'm using an Script Include that calls a UI Message and sends the values of the fields by parameters to the message. The problem is that the values of the fields have to be one below the other and for that I am using \n in the Message. But I can't find any reason why the line break works in some fields and not in others. I can't make it jump the line and it stay next to each other. The strange thing is that in some fields it works but in others it doesn't. Any idea what could be the reason or what I can try to fix it? Thanks.

6 REPLIES 6

DrewW
Mega Sage
Mega Sage

What field types does it not work for you?  I know they are not going to display in an HTML field.

 

Community Alums
Not applicable

Hello! It does not depend on the type of field because, for example, for String type fields, it works in some cases and not in others.

 

In fields of type String with length less than 256 line breaks will not be supported. Only in String fields with length greater than 255, which actually become multi-line fields.

Community Alums
Not applicable

Thanks for your answer!! It is not working for me either for two fields that are of type Date/time, do they have any restrictions too?