-
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.
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks