PDA

Click to See Complete Forum and Search --> : problem with Input box content


Sep 27th, 2000, 09:30 AM
I am having a problem where the contents of an input box on a form is defaulted from a data base file. The content is not showing a full sentence. For example, if the data base file holds "Another test", my page shows "Another".

Any suggestions? THANKS!!!

Here is a sample of the code:

'Where I set the field...
<%
ShipperName=rs.Fields("ShipperName")
%>

'The HTML portion...
<TD><B>**Company Name:</B></TD>
<TD><INPUT maxLength=27 name=ShipperName size=27 value=<%Response.Write(ShipperName)%>> </TD>
<TD>*</TD>

hwang
Sep 27th, 2000, 10:04 AM
Add quotes around value will solve the problem. i.e.,
VALUE="Another one" instead VALUE=Another one