Data missing from a textbox in form

Results 1 to 3 of 3

Thread: Data missing from a textbox in form

  1. #1
    Oleg Star Guest

    Default Data missing from a textbox in form

    I have this code:<BR>&#060;% memo="test this" %&#062;<BR>&#060;form action="test.asp" method="get"&#062;<BR>&#060;table&#062;&#060;tr&#0 62;&#060;td&#062;<BR>&#060;input type="text" size="10" name="memo" <BR>value=&#060;%response.write memo%&#062;&#062;&#060;/td&#062;&#060;/tr&#062;&#060;/table&#062;&#060;/form&#062;<BR>For some reason it displays only "test" and not "test this"!???<BR>Why would it truncate the string?<BR>Thanks<BR><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    463

    Default RE: Data missing from a textbox in form

    Put quotes around your response.write for the value.<BR>Example:<BR>value="&#060;%response.write memo%&#062;"<BR>or <BR>value="&#060;%= memo %&#062;"<BR><BR>

  3. #3
    Oleg Star Guest

    Default RE: Data missing from a textbox in form

    Thanks,<BR>I probably should have posted this problem in the beginners group...<BR>

Posting Permissions

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