
String truncates all but 1st word in Form Input type text box
When you buld the HTML and the value attribute make sure to enclose the value in either single or
double quotes...
<input ... value="<% =rs("fieldname") %>"
<input ... value='<% =rs("fieldname") %>'
--
Michael Harris
MVP Scripting
My asp form is experiencing a strange behavior where several of its input
text fields, when assigned values using an ADO recordset only dislay the
first word in the assigned string.
The entire string is still actually assigned to the field's value property.
I am able to fetch, reassign and display it using an "onclick event." That
is, the entire string is reassigned and fully displayed in another input
text box.
What is causing this to happen and how can I fix it?
Any help would be greatly appreciated!
Mark