10
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

mvp_badge
MVP
Rank: #91

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