[ 2 posts ]

Raphaël Bauduin

  • Username: raphinou
  • Joined: Thu Nov 26, 2009 7:03 am
  • Posts: 39
  • GitHub: raphinou
  • Gists: raphinou
  • IRC: raphinou
  • Offline
  • Profile

multipart / file field

Post Posted: Tue Dec 15, 2009 3:02 am
+0-
Hi,

do you plan to support multipart forms to enable file uploads?
I'd possibly be a test user for this. (still validating the idea to go with your module though)

Raph

Greg Hinch

YUI Contributor

  • Username: greghinch
  • Joined: Wed Jun 03, 2009 10:49 am
  • Posts: 73
  • Location: Fairfax, CA , USA
  • Twitter: greghinch
  • GitHub: ghinch
  • Gists: ghinch
  • IRC: gr-eg
  • Offline
  • Profile

Re: multipart / file field

Post Posted: Sat Jan 23, 2010 1:13 pm
+0-
I'm of mixed feelings about including direct support for uploading in the Form module. I understand how useful it would be, and it may deter some from using it, however in my general experience, posting a form at the same time as uploading a file can cause some technological challenges on both the client and server side of things. One concern of note I've been informed of by a server-side counterpart at my work (and this may not be across the board accurate) is that if a post is submitted with an empty value for an upload field, it causes an error on the server. Again that could be incorrect but it is what I have been told.

Personally in my application development I find separating uploads and form data posts, if done properly, is a more elegant experience. But I am totally willing to work with you on finding an implementation that works if there is a consensus that this module is incomplete without uploading.
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum