• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

form and html-el:form Problems

 
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a form with a drop-down menu in it. The drop-down menu is created using the <html-el:...> tag.

Everything displays well this way:

But, if I add this attribute; ENCTYPE="multipart/form-data", in the <html-el:form ...> tag like this:

I get this runtime error in the browser:
Attribute ENCTYPE invalid for tag form according to TLD'

If I use the <form ENCTYPE="multipart/form-data" action="/content/AddFiles"> together with the <html-el:select ...>, <html-el ption ...>, <html-el ptions ...> tags, I do not get runtime error message; nonethess, the drop-down menu "cannot" be displayed.

What should I do?
 
Climb the rope! CLIMB THE ROPE! You too tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic