Ask a Question related to ASP, Design and Development.

  1. #1

    Default <textarea> bug????

    Simple vbscript,html page loading into access.
    Input pg posting to Confirm pg, then sending to access.

    when using;

    <textarea name="name" tabindex="15">
    </textarea>

    as an input renders tab spaces automatically.

    I took out <Div> tags, and tried nowrap, and tried
    reformatting data before sending to dbase (CStr, Trim),
    with no answer to alleviate this problem.

    Any suggestions????


    Matt Guest

  2. Similar Questions and Discussions

    1. TextArea
      I am making a simple blog, and was wondering if anyone had any suggestions on making a wysiwyg editor. I want to try and make it as much cross...
    2. Printjob for TextArea
      Below the code snipped :Q: it works fine and print the textarea. But it prints only the visible Textarea and ignores the rest of the text(that...
    3. textArea formatting
      I am using a php html form with data which is loaded from a mysql database. Three of the fields are textareas. The data loads into these fields...
    4. textarea value
      I am trying to collect the value of an HTML textarea. The problem I am having is that I only can get he first line in the textarea. When a user...
    5. Removing carriage returns from <textarea></textarea> input
      Hiya, I have a form with a <textarea></textarea> to receive user input. This input is then stored in a database and sent by fax... I need to...
  3. #2

    Default Re: <textarea> bug????

    I don't understand. Your tabs are disappearing? When? When you later
    present the data in HTML? That's because a tab in a textarea is not HTML...
    and HTML doesn't recognize a tab. You will need to replace for presentation
    in a web page, something along the lines of:

    txt = rs("txt")
    response.write replace(txt, chr(9), "&nbsp;&nbsp;&nbsp;&nbsp;")




    "Matt" <mbell11@yahoo.com> wrote in message
    news:068401c350cf$0be22c10$a501280a@phx.gbl...
    > Simple vbscript,html page loading into access.
    > Input pg posting to Confirm pg, then sending to access.
    >
    > when using;
    >
    > <textarea name="name" tabindex="15">
    > </textarea>
    >
    > as an input renders tab spaces automatically.
    >
    > I took out <Div> tags, and tried nowrap, and tried
    > reformatting data before sending to dbase (CStr, Trim),
    > with no answer to alleviate this problem.
    >
    > Any suggestions????
    >
    >

    Aaron Bertrand [MVP] Guest

  4. #3

    Default Re: <textarea> bug????

    I'm confused.... are you trying to KEEP or REMOVE the tab spaces?


    --
    ----------------------------------------------------------
    Curt Christianson (Software_AT_Darkfalz.Com)
    Owner/Lead Designer, DF-Software
    [url]http://www.Darkfalz.com[/url]
    ---------------------------------------------------------
    ...Offering free scripts & code snippits for everyone...
    ---------------------------------------------------------

    "Matt" <mbell11@yahoo.com> wrote in message
    news:068401c350cf$0be22c10$a501280a@phx.gbl...
    > Simple vbscript,html page loading into access.
    > Input pg posting to Confirm pg, then sending to access.
    >
    > when using;
    >
    > <textarea name="name" tabindex="15">
    > </textarea>
    >
    > as an input renders tab spaces automatically.
    >
    > I took out <Div> tags, and tried nowrap, and tried
    > reformatting data before sending to dbase (CStr, Trim),
    > with no answer to alleviate this problem.
    >
    > Any suggestions????
    >
    >

    Curt_C [MVP] Guest

  5. #4

    Default Re: <textarea> bug????

    The tabs are automatically in textarea when I try to enter
    data into it. Also each time I display the textarea more
    tabs are automatically entered into it. The dbase shows
    square blocks - 2 before and 2 after the data, whether I
    have the field as text or memo.

    I am trying to rid the textarea of the tabs, or whatever
    the squareblocks are.
    >-----Original Message-----
    >I don't understand. Your tabs are disappearing? When?
    When you later
    >present the data in HTML? That's because a tab in a
    textarea is not HTML...
    >and HTML doesn't recognize a tab. You will need to
    replace for presentation
    >in a web page, something along the lines of:
    >
    >txt = rs("txt")
    >response.write replace(txt, chr(9), " ")
    >
    >
    >
    >
    >"Matt" <mbell11@yahoo.com> wrote in message
    >news:068401c350cf$0be22c10$a501280a@phx.gbl...
    >> Simple vbscript,html page loading into access.
    >> Input pg posting to Confirm pg, then sending to access.
    >>
    >> when using;
    >>
    >> <textarea name="name" tabindex="15">
    >>
    matt Guest

  6. #5

    Default Re: <textarea> bug????

    Remove.

    The tabs are automatically in textarea when I try to enter
    data into it. Also each time I display the textarea more
    tabs are automatically entered into it. The dbase shows
    square blocks - 2 before and 2 after the data, whether I
    have the field as text or memo.

    I am trying to rid the textarea of the tabs, or whatever
    the squareblocks are.


    >-----Original Message-----
    >I'm confused.... are you trying to KEEP or REMOVE the tab
    spaces?
    >
    >
    >--
    >----------------------------------------------------------
    >Curt Christianson (Software_AT_Darkfalz.Com)
    >Owner/Lead Designer, DF-Software
    >[url]http://www.Darkfalz.com[/url]
    >---------------------------------------------------------
    >...Offering free scripts & code snippits for everyone...
    >---------------------------------------------------------
    >
    >"Matt" <mbell11@yahoo.com> wrote in message
    >news:068401c350cf$0be22c10$a501280a@phx.gbl...
    >> Simple vbscript,html page loading into access.
    >> Input pg posting to Confirm pg, then sending to access.
    >>
    >> when using;
    >>
    >> <textarea name="name" tabindex="15">
    >>
    matt Guest

  7. #6

    Default Re: <textarea> bug????

    All fixed - thanks for help.

    <textarea>
    </textarea>

    does not work - picking up Cr

    <textarea></textarea> does

    >-----Original Message-----
    >I don't understand. Your tabs are disappearing? When?
    When you later
    >present the data in HTML? That's because a tab in a
    textarea is not HTML...
    >and HTML doesn't recognize a tab. You will need to
    replace for presentation
    >in a web page, something along the lines of:
    >
    >txt = rs("txt")
    >response.write replace(txt, chr(9), " ")
    >
    >
    >
    >
    >"Matt" <mbell11@yahoo.com> wrote in message
    >news:068401c350cf$0be22c10$a501280a@phx.gbl...
    >> Simple vbscript,html page loading into access.
    >> Input pg posting to Confirm pg, then sending to access.
    >>
    >> when using;
    >>
    >> <textarea name="name" tabindex="15">
    >>
    matt Guest

Posting Permissions

  • You may not post new threads
  • You may 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