• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
custom file input form element
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom file input form element


  • Subject: custom file input form element
  • From: "Pelaia II, Tom" <email@hidden>
  • Date: Tue, 21 Sep 2010 15:55:13 -0400
  • Acceptlanguage: en-US
  • Thread-topic: custom file input form element

Hi,

I am trying to support multiple file upload by using a custom input element. It works, but for some reason it strips the form values for all form elements that follow it. So in the following example, the form values for the "testField" are stripped. If I move the test field before the file upload element, it will behave as expected and all form data gets passed correctly.

Below is the code I am trying to get working:
<wo:WOForm enctype="multipart/form-data" method="post" multipleSubmit="[true]">
<input name="mediaupload" type="file" multiple="true" />
<wo:WOTextField name="testField" value="[testField]" />
<input type="submit" name="uploadData" action="[uploadData]" />
</wo:WOForm>

What is the correct way to introduce an multi-file upload element?

thanks,
tom
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: custom file input form element
      • From: "Pelaia II, Tom" <email@hidden>
    • Re: custom file input form element
      • From: Chuck Hill <email@hidden>
    • Re: custom file input form element
      • From: Johnny Miller <email@hidden>
    • Re: custom file input form element
      • From: David Holt <email@hidden>
  • Prev by Date: Re: D2W Auto-Qualifying all listings
  • Next by Date: Re: custom file input form element
  • Previous by thread: Re: Windows, Eclipse Helios, Wolips OH MY?!
  • Next by thread: Re: custom file input form element
  • Index(es):
    • Date
    • Thread