Professional Web Applications Themes

Text Areas - Macromedia Dreamweaver

Using Dreamweaver, asp VB. I'm creating a form that goes to a database. When outputting from the database, what typed into the text area looks nothing like the input. I think it has something to do with the format. How to i make text areas generate html? As in <Br> break lines. etc......

  1. #1

    Default Text Areas

    Using Dreamweaver, asp VB.

    I'm creating a form that goes to a database. When outputting from the database, what typed into the text area looks nothing like the input. I think it has something to do with the format.

    How to i make text areas generate html? As in <Br> break lines. etc...




    ConorS webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Text Areas

    go to robgt.com and look for the "keep memo formatting" behaviour

    James


    "ConorS" <webforumsusermacromedia.com> wrote in message
    news:beja41$r18$1forums.macromedia.com...
    > Using Dreamweaver, asp VB.
    >
    > I'm creating a form that goes to a database. When outputting from the
    database, what typed into the text area looks nothing like the input. I
    think it has something to do with the format.
    >
    > How to i make text areas generate html? As in <Br> break lines. etc...
    >
    >
    >
    >

    Jamesy Guest

  3. #3

    Default Re: Text Areas

    Well, roughly...

    When you submit the text area to a memo field in Access it DOES store the
    breaks, but not as the html code of <br>. If you want to display the text in
    another textbox, it should work, but if you want it in a paragraph, use this
    line to conver the returns to <br>:
    <%=Replace(rs("yourfield"),vbcrlf,"<br>")%>

    That should do it.

    "ConorS" <webforumsusermacromedia.com> wrote in message
    news:beja41$r18$1forums.macromedia.com...
    > Using Dreamweaver, asp VB.
    >
    > I'm creating a form that goes to a database. When outputting from the
    database, what typed into the text area looks nothing like the input. I
    think it has something to do with the format.
    >
    > How to i make text areas generate html? As in <Br> break lines. etc...
    >
    >
    >
    >

    Jordan Marton Guest

  4. #4

    Default Re: Text Areas

    thanx Jamsey



    ConorS webforumsuser@macromedia.com Guest

  5. #5

    Default Re: Text Areas

    > that code is fine, but possibly the user might want to wrap that in and
    > (if.. then) statement to make sure there are line breaks in the doent,
    > otherwise it will throw and error.
    It just won't do any replacing, leaving the original value intact.

    --
    Ron


    Ron Guest

Similar Threads

  1. Coursebuilder - 5 text areas for 5 possible scores. Eachpossible answer has its own text area
    By seaweed2323 in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 0
    Last Post: June 27th, 04:20 AM
  2. Password areas
    By Teddles1 in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: July 25th, 05:29 PM
  3. Locking areas
    By HairyDalek in forum Macromedia Contribute Connection Administrtion
    Replies: 2
    Last Post: May 14th, 04:13 PM
  4. Text Areas in Pub 2002
    By Teri in forum Web Design
    Replies: 3
    Last Post: January 15th, 09:45 PM
  5. Translucent or Transparent TEXT Field areas
    By ts^ webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 2
    Last Post: October 23rd, 02:40 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139