data in a textbox ends at the first space

Z

Zigo

When I populate a textbox with data from a database, the text is truncated at
the first space
 
P

p c

How do you populate?

Give us an example of what is returned from the DB and how is it
displayed in the textbox.

If you are using script to assign the the returned text, are using
quotation marks to delimit the assigned value.

For HTML tags tat take atributes and values, if you don't delimit the
attributes by quotation marks, the value will be whatever you have up to
the first space. E.g.,

value="some text"
gets you "some text"
value=some text
gets you "some"
 
T

Thomas A. Rowe

You are passing " within the submit text, and that is what is cause the problem.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top