Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting Error on Upload Process

 
Steve Dyke
Ranch Hand
Posts: 1619
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting an Error: Form Elements must not be named "submit" from the following HTML and Servlet




 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like the library is yelling you at not putting a name on the submit button and the name should not be submit.

Eric
 
Steve Dyke
Ranch Hand
Posts: 1619
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Pascarello wrote:Sounds like the library is yelling you at not putting a name on the submit button and the name should not be submit.

Eric


I realize that but do you see in my code where I have named anything "submit"?

Any way I found out it was a jquery 1.3 and jquery.form version issue. I upgraded jquery.form and it works.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Getting snippy isn't a winning strategy.

Where exactly is this error being reported from? And by whom?
 
Steve Dyke
Ranch Hand
Posts: 1619
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Getting snippy isn't a winning strategy.

Where exactly is this error being reported from? And by whom?


Did not mean to sound snippy, I jsut could not see what was wrong. The error was an alert from js. Turns out the "submit" was a problem in the jquery.form.js code. I have it uploading okay now. However, I have another issue with this page and the servlet.

I have added an input field to the page but the servlet returns blank.




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic