<textarea> bug????

Discussion in 'ASP General' started by Matt, Jul 23, 2003.

  1. Matt

    Matt Guest

    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, Jul 23, 2003
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:068401c350cf$0be22c10$...
    > 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], Jul 23, 2003
    #2
    1. Advertising

  3. Matt

    matt Guest

    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" <> wrote in message
    >news:068401c350cf$0be22c10$...
    >> 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, Jul 23, 2003
    #3
  4. Matt

    matt Guest

    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
    >http://www.Darkfalz.com
    >---------------------------------------------------------
    >...Offering free scripts & code snippits for everyone...
    >---------------------------------------------------------
    >
    >"Matt" <> wrote in message
    >news:068401c350cf$0be22c10$...
    >> 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, Jul 23, 2003
    #4
  5. Matt

    matt Guest

    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" <> wrote in message
    >news:068401c350cf$0be22c10$...
    >> 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, Jul 23, 2003
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John

    Re: BUG? OR NOT A BUG?

    John, Sep 20, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    528
  2. Augustus
    Replies:
    1
    Views:
    328
    Ken Schaefer
    Sep 10, 2003
  3. Textarea Inside of a textarea

    , Feb 4, 2006, in forum: ASP General
    Replies:
    6
    Views:
    306
    Anthony Jones
    Feb 5, 2006
  4. Replies:
    1
    Views:
    291
    Bart Van der Donck
    Jul 4, 2007
  5. Jennifer Palonus

    TEXTAREA bug in Mozilla?

    Jennifer Palonus, Dec 3, 2007, in forum: Javascript
    Replies:
    10
    Views:
    180
    Thomas 'PointedEars' Lahn
    Dec 6, 2007
Loading...

Share This Page