• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Form submit problem  RSS feed

 
Greenhorn
Posts: 5
  • 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?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your form is it a "post" or "get"?
 
Jodi Eckstine
Greenhorn
Posts: 5
  • 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 carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!