Click to See Complete Forum and Search --> : whitespace in html form


doug993845
12-18-2002, 02:52 PM
I am working with an ASP web page, wriiten in vbscript.
The page has an HTML form.
The page uses an ADO connection to get data from a database.
The data is displayed in the HTML form.

Everything is working, except:
One field in the database has two words. It is "Windows 95." The HTML form only displays "Windows."
It drops the word after the whitespace.

How can I make an HTML form (or the browser) display the whole field?
I really don't want to change this field in all the records.

Thanks for any help!
Doug

doug993845
12-18-2002, 06:27 PM
Thanks,
I am getting the value from an ADO database.
Found that view - source shows correct data. I guess the browser knocks it out?

Here is the data sent to the broswer:
OS: <input type=text name=SomeField value = <% = rsGuestbook("FieldName") %>> <br>

Here is what I see in view-source:
OS: <input type=text name=SomeField value = Windows 95> <br>

Can I add quotes to the original line somehow?
Thanks,
Doug

doug993845
12-19-2002, 02:33 PM
Thank you!!
Your are a genius!