I believe the hard return is saved in the file too (by hex value?). We have users do a hard return all the time, sometimes just to "space things out" in the textarea. It displays just like they entered it, blank lines and all.

Glenn.


From: Shane_Cessna@xxxxxxx
Reply-To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
To: web400@xxxxxxxxxxxx
Subject: [WEB400] CGIDEV2 question...
Date: Thu, 3 Aug 2006 09:37:02 -0500

Hey list,

How does anyone handle a hard return in a textarea field on a web form?  I
can save it in a PF, but how do I detect it through an RPG read and
display it properly?

Shane Cessna
Senior iSeries Programmer
North American Lighting, Inc.
2275 S. Main St.
Suite A
Paris, IL 61944
Flora Office - 618.662.4483 x2776
Paris Office - 217.465.6600 x7776


--
This is the Web Enabling the AS400 / 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.