Form/Edited Grid: Textarea Value Display After Update

When I edit the Textarea input field in Form/Edited_grid, my Textarea screen display is:
1234,3244,7255,2773
3555,3444

After I Update the row/register, the Textarea becomes:
1234,3244,7255,2773<br>3555,3444

  1. How to make the display retain like:
    1234,3244,7255,2773
    3555,3444 after I press the Update button(SC generate button)?

  2. Whats the eol (end of line character) in the Textarea line, ie after
    1234,3244,7255,2773
    I tried
    but failed while I counted total 4-digit nos seperated by comma(,) on all rows in Textarea.

TQ in advance for your help.

Re: Form/Edited Grid: Textarea Value Display After Update

Your field “Data Type” is “Multiple Lines Text”?

Re: Form/Edited Grid: Textarea Value Display After Update

  1. I never check whether single/multi lines text! I will do that.
  2. I found a suggestion from internet. May be I share the idea here:
    Say, the Textarea is $str

$str = str_replace( array("
“,”
“,”
"), ‘<br />’, trim({Order4no}) );
$arrNO = explode(’<br />’,$str);

First change the eol character to <br />. Then based on the eol marker as <br />
to proceed…

Thks RHS.

Re: Form/Edited Grid: Textarea Value Display After Update

My first problem still unsolved( its a multi lines Textarea):

[i]When I edit the Textarea input field in Form/Edited_grid, my Textarea screen display is:
1234,3244,7255,2773
3555,3444

After I Update the row/register, the Textarea becomes:
1234,3244,7255,2773<br>3555,3444[/i]

Any help/idea/suggestion?