Results 1 to 2 of 2

Thread: problem with Input box content

  1. #1
    Guest

    Unhappy

    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>

  2. #2
    New Member
    Join Date
    Sep 2000
    Posts
    1

    Thumbs up

    Add quotes around value will solve the problem. i.e.,
    VALUE="Another one" instead VALUE=Another one

Posting Permissions

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



Click Here to Expand Forum to Full Width