Don't forget the semi-colon - it is not  
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Mike Cunningham
Sent: 24 June 2011 16:37
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] How do I preserve leading blanks in fields - Using CGIDEV2.
Browsers will remove white space by default. For force multiple spaces us   but be warned that browsers use proportional fonts and so 5 spaces will not be equal width with 5 characters.
http://www.sightspecific.com/~mosh/WWW_FAQ/nbsp.html
You would going to need to scan and replace all blanks in field_name with   (yes, one blank character will need to become 5 characters in the field_name)
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Darryl Freinkel
Sent: Friday, June 24, 2011 11:25 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] How do I preserve leading blanks in fields - Using CGIDEV2.
I am new to CGIDEV2 and have gotten a few programs up and running quickly.
Kudo's to Giovanni and company.
However, I have a new problem. The 1 field has alpha numeric data that is right justified example __name. When the HTML gets the value, it strips all the leading blanks displaying name__.
How do I preserver the leading blanks?
I tried %20/%field_name%/ and /%%20field_name%/ which produced the wrong results.
TIA
Darryl Freinkel
Assignment 400 Group, Inc.
Tel: 770.321.8562 ext 111 | Fax 770.321.8562 | 2247 La Salle Dr, Marietta GA, 30062, USA | PO Box 72556, Marietta, GA 30007-2556
--
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.
--
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.
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.
As an Amazon Associate we earn from qualifying purchases.