input field display truncated


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: input field display truncated

  1. #1
    singam Guest

    input field display truncated


    My ASP forms captures data input, post into a database and then read from
    the database and display for the user to edit.

    In a text field, two words or more are accepted and posted successfully to
    the database. All the words are also retrieved successfully from the DB.

    However only the first word displays in the text field. All the rest are
    truncated.

    I have verified that the truncation has nothing to do with the DB. Even when
    the value is provided in the form, the "space" is taken as a delimiter and
    the remaining words chopped off.

    Is this a known error and is there a fix?

    Thanks.

  2. #2
    Q*bert Guest

    Re: input field display truncated


    Put "'s around the field. Problems arise though if the text your saving has
    quotes, so you will need to parse those to the " or whatever it is

    "singam" <webdev.@127.0.0.1> wrote:
    >
    >My ASP forms captures data input, post into a database and then read from
    >the database and display for the user to edit.
    >
    >In a text field, two words or more are accepted and posted successfully

    to
    >the database. All the words are also retrieved successfully from the DB.
    >
    >However only the first word displays in the text field. All the rest are
    >truncated.
    >
    >I have verified that the truncation has nothing to do with the DB. Even

    when
    >the value is provided in the form, the "space" is taken as a delimiter and
    >the remaining words chopped off.
    >
    >Is this a known error and is there a fix?
    >
    >Thanks.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center