× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Now I feel better...i kept thinking there is some majic undocumented way of
doing this. I can tell you that 16 years ago when the app was built, it
worked..or at least no noticed reports of the issue.
Thanks

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Turner
Sent: Sunday, October 25, 2015 5:29 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] textarea that works for blocks of text and keeps
length of each line

I once spent many moons trying to fathom out a good way to do this but
eventually gave it up as a bad job. I had reams of JavaScript catering for
the various scenarios but it never quite hit the spot, and become confusing
for the user. In my case the data came from a legacy file that had multiple
50 character fields that had to be put together for editing in the text area
and disassembled back into individual fields after editing. It was, sad to
say, a futile exercise. Text areas are just not suited to that sort of
thing.

Sent from my iPad

On 25 Oct 2015, at 02:03, Jim Franz <franz9000@xxxxxxxxx> wrote:

Have a cgi web screen with various input fields plus a textarea of 5
rows,
50 cols (columns).
The data field is 250 bytes.
Moving the 250a to the textarea should always have byte 51 starting
2nd line, 101 starting 3rd line, etc.
CSS controls colors, fonts, etc, but nothing specific to textarea.
Chrome and IE don't match, and both jumble the appearance where the
textarea is always shorter than the 50 characters (in IE, and longer
in
Chrome) and wraps to the next line.
<sample>
LINE1TENxxSECOND10xxTHIRD10xxx
FOURTH10xxFIFTH10xxxLINE2TENxx
SECONDTEN...

There is plenty of room for the whole 50 bytes to fit within page.

<td><textarea name="LONG" rows="5" cols="50"
wrap="soft"><data></textarea></td>
Many hours of google, w3schools,stackflow, etc and trying lots of
stuff has not improved the issue.
I have put textarea in it's own table, but no difference. I am
assuming it's width affected by other input type="text" on same panel.

Users really want the ability to paste in up to 250 bytes and then
edit it into 5 lines of 50 (it's a description that comes from other
sources).
Later printed on form and the alignment in the textarea has to match
print..

This to me seems a standard data entry issue for web applications.
Is "textarea" just unsuitable for this kind of entry? It worked better
in older browsers.
Has anyone found a definition that works in the current web world
(this app is for customers and they have various browsers. App's been
up for 16 years.
Jim
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/


________________________________

NOTICE: The information in this electronic mail transmission is intended by
CoralTree Systems Ltd for the use of the named individuals or entity to
which it is directed and may contain information that is privileged or
otherwise confidential. If you have received this electronic mail
transmission in error, please delete it from your system without copying or
forwarding it, and notify the sender of the error by reply email or by
telephone, so that the sender's address records can be corrected.



----------------------------------------------------------------------------
----


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.