Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2006
    Thanked 0 Times in 0 Posts

    using textarea field for update

    I am creating an update form for a database and one of the input fileds is retrieving and updating text-type data.
    The problem is that the text(varchar) data in the database contain line breaks and so by using a <input type="text"> field, i can only see the first line of the text that is stored.
    Also i can't submit text with line breaks because naturally when i hit "enter" the update is activated.

    I think i have to use a <textarea> field. But how can i view the text in the database from that field (there is no such thing as "value" attribute for that field)?

  • #2
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    chertsey, a small town 25 miles south west of london, england.
    Thanked 247 Times in 242 Posts


    Posting Permissions

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