Results 1 to 3 of 3

Thread: whitespace in html form

  1. #1
    Join Date
    Dec 2002

    whitespace in html form

    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!

  2. #2
    Join Date
    Dec 2002
    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?

  3. #3
    Join Date
    Dec 2002
    Thank you!!
    Your are a genius!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles