Long Text in a Textarea

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emm
    New Member
    • Nov 2006
    • 8

    Long Text in a Textarea

    Hi guyz! I am stuck with this.
    I have a textarea. My program functions well only with short texts. Data will be sent and save on the database--MSSQL Server properly. But when I copy data from MS Excel and paste to my textarea, data cant be submitted (in IE). I got error "URL too long...." (I guess) from Mozila Firefox.

    I know the text is not quite that long coz I tried copy/pasting these data to a certain website and data is successfully saved.

    please can anybody help me? Thank You!
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Originally posted by emm
    Hi guyz! I am stuck with this.
    I have a textarea. My program functions well only with short texts. Data will be sent and save on the database--MSSQL Server properly. But when I copy data from MS Excel and paste to my textarea, data cant be submitted (in IE). I got error "URL too long...." (I guess) from Mozila Firefox.

    I know the text is not quite that long coz I tried copy/pasting these data to a certain website and data is successfully saved.

    please can anybody help me? Thank You!
    If you are using form method=get, try method=post.

    Comment

    • ronverdonk
      Recognized Expert Specialist
      • Jul 2006
      • 4259

      #3
      Originally posted by hsriat
      If you are using form method=get, try method=post.
      The GET method allows you to pass approx. 2800 bytes. With the POST the length of the string is (theoretically) unlimited.

      Ronald

      Comment

      Working...