Hi Nicholas,

I bet if you looked at your 'view-source' you would see the whole value.

In HTML, you need to quote all attributes values, where the values may
contain a space.

So, if you change:

<INPUT NAME=ThreadName TYPE=TEXT SIZE=40 MAXLENGTH=40 VALUE=<@VAR
ThreadName SCOPE=User>>

To:

<INPUT NAME=ThreadName TYPE=TEXT SIZE=40 MAXLENGTH=40 VALUE="<@VAR
ThreadName SCOPE=User>">

Then the whole value will appear in your text field in the browser.

Hope this helps. Cheers....

Scott Cadillac
http://xml-extra.net
[EMAIL PROTECTED]

http://witango.org
[EMAIL PROTECTED]

VP, Research and Development
Plus International Corp.
403-281-6090
[EMAIL PROTECTED]
http://www.plusinternational.com

Vancouver, BC, Canada

Does your company have an Enterprise Information Portal? Check out Salsa at
www.plusinternational.com/flash/salsa.htm

----- Original Message -----
From: "Nicholas Froome" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Thursday, September 05, 2002 1:14 PM
Subject: Witango-Talk: quick encoding query


> Quick query; I've built a form that stores data in variables (local
scope) for verification before posting to a databse
>
> The data shows up OK in debug and posts OK to the database, but when I
preview it in a Text field in a form, the "type=text" fields just display
the data up to the first white space! The data does get to the database OK,
so it is OK in the variable - it just doesn't display properly...
>
> For example, the data "Test 17" would, in the form, be displayed as
"Test" - but be punched into the database as "Test 17"
>
> I've done this before without any problems - what am I doing wrong??
>
>
>
> TANGO 3.6, Webstar 4.0, Mac OS 9.1
>
> Results below:
>
>
> displays OK
> ------------
> ThreadName (no encoding) <@VAR ThreadName
r>          --->displays OK!
>
> ThreadName (no encoding) <TEXTAREA COLS=50 ROWS=16 NAME=ThreadName><@VAR
ThreadName SCOPE=User></TEXTAREA>          --->displays OK!
>
>
> cuts off data after first white space
> -------------------------------------------
> ThreadName (no encoding) <INPUT NAME=ThreadName TYPE=TEXT SIZE=40
MAXLENGTH=40 VALUE=<@VAR ThreadName SCOPE=User>>       ----> problem
>
> ThreadName (encoding = NONE) <INPUT NAME=ThreadName TYPE=TEXT SIZE=40
MAXLENGTH=40 VALUE=<@VAR ThreadName SCOPE=User ENCODING=NONE>>        ---->
problem
>
> ThreadName (encoding = METAHTML) <INPUT NAME=ThreadName TYPE=TEXT SIZE=40
MAXLENGTH=40 VALUE=<@VAR ThreadName SCOPE=User
ING=METAHTML>>      ----> problem
>
> ThreadName (encoding = MULTILINEHTML) <INPUT NAME=ThreadName TYPE=TEXT
SIZE=40 MAXLENGTH=40 VALUE=<@VAR ThreadName SCOPE=User
ENCODING=MULTILINEHTML>>      ----> problem
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to