529
Views
1
Comments
How to replace Newline() to empty space" "
Question

Hi ,
I am using RichTextbox(MultiLine) for the comment. If am enter the comment with the line breaks, Allignment is not proper like.

I want the comments like "Comments: Check1 check2 check3," If any possible



Thanks 

Nave

2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Nave,

I have tried to implement the mentioned use-case using JavaScript in the Reactive Web application.

JavaScript Snippet:

$parameters.Words = $parameters.InputValue.replace(/\n/g, " ");

see this sample  Reactive app - ReplaceLineFeed 

Please see the attached .oml solution file


Hope this helps you!


Regards,

Benjith Sam

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