File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Form submit problem

 
Jodi Eckstine
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a form with four text areas. To submit the form, I have an image that is a link set up like this:
<a href="javascript rocessSave()"><img src="<cfoutput>#IMAGESPATH#</cfoutput>/Save.gif" alt="Save"></a>
In the processSave function I call this:
document.detailForm.submit();
If one text area has about 1000 characters entered into it, the form submits. If I try to enter about the same amount of text into a second text area, I get an invalid syntax error for the document.detailForm.submit.
Has anyone had this kind of problem?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your form is it a "post" or "get"?
 
Jodi Eckstine
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It was a get. I changed it to post and that was it. Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic