cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

Line feed code in confirmation message

Yoshihiko.N
12-Amethyst

Line feed code in confirmation message

Dear Developers,

 

I'm trying to add a line feed code into string which will be displayed as a confirmation message.

I currently use "\n" as a line feed code as show the below though, it doesnt work.

 

Could you let me know on how to get it work normal ?

 

YoshihikoN_1-1652328161881.png

 

YoshihikoN_0-1652328137728.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
kazunari
5-Regular Member
(To:Yoshihiko.N)

Unfortunately, it also can't break lines in Message Text. Creating a new static mashup(with mashup parameter) and set that mashup on Navigation with modal popup would be the best way in your case. I hope this helps you.

View solution in original post

3 REPLIES 3
kazunari
5-Regular Member
(To:Yoshihiko.N)

I assume you are using label widget, however it depends on the size of the widget and we can't break a line manually in label widget. 
How about splitting the label and service into two parts?

Hi Kazunari,

Thank you for your reply.

I'm using confirmation function like the below not label widget. 
I created a servive to generate message text and I'd like to break lines manually in the message text.

 


YoshihikoN_0-1652856977391.png

 

kazunari
5-Regular Member
(To:Yoshihiko.N)

Unfortunately, it also can't break lines in Message Text. Creating a new static mashup(with mashup parameter) and set that mashup on Navigation with modal popup would be the best way in your case. I hope this helps you.

Top Tags