Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread TMultilineEdit Lines Issue on HTMLForm Post.
Mon, Jun 8 2015 11:05 PMPermanent Link

Max Evans

In Build 12, I have a TMultilineEdit inside a THTMLForm on a Form. The multilineEdit has scrollbars set to vertical and wordwrap set to true.

The TMultlineEdit has about 5 or 6 lines of text that are correctly word-wrapped.

When I submit the Thtmlform with wordwrap set to true, only the first line of the TMultiLineEdit text is submitted. If I set the TMultilineEdit wordwrap to false, then the submitted data is correct.
Tue, Jun 9 2015 3:06 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Max,

<< In Build 12, I have a TMultilineEdit inside a THTMLForm on a Form. The
multilineEdit has scrollbars set to vertical and wordwrap set to true.

The TMultlineEdit has about 5 or 6 lines of text that are correctly
word-wrapped.

When I submit the Thtmlform with wordwrap set to true, only the first line
of the TMultiLineEdit text is submitted. If I set the TMultilineEdit
wordwrap to false, then the submitted data is correct. >>

I'll check this out, thanks.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Jun 10 2015 4:36 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Max,

I'm not seeing what you're reporting here, but I did find a related issue:
the TMultiLineEdit control was setting the wrapping improperly for the
browser element, which would cause soft LFs to be converted into hard LFs
when submitted to the back-end.

Which web server are you using ?  There may be embedded hard LFs in there
that are causing the truncation in the parsing on the back end.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jun 11 2015 7:54 PMPermanent Link

Max Evans

Tim,

I'm just using a vanilla flavoured delphi webbroker exe as the server for testing. I'll inspect the returned data and look for hard returns.

cheers




"Tim Young [Elevate Software]" wrote:

Max,

I'm not seeing what you're reporting here, but I did find a related issue:
the TMultiLineEdit control was setting the wrapping improperly for the
browser element, which would cause soft LFs to be converted into hard LFs
when submitted to the back-end.

Which web server are you using ?  There may be embedded hard LFs in there
that are causing the truncation in the parsing on the back end.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Image