FileUploadField, CSS, and empty form values

2008-06-09 Thread Michael Laccetti
I'm trying to attach some CSS to the browse button in a FileUploadField. Rather, since this is actually impossible, I'm hiding the actual field, and creating a pretty looking fake similar to what this page does: http://www.quirksmode.org/dom/inputfile.html. The issue is that when I submit the

Re: FileUploadField, CSS, and empty form values

2008-06-09 Thread Nino Saturnino Martinez Vazquez Wael
I'd suggest to use firebug to check if it actually works. There is no magic in this at least..:) Michael Laccetti wrote: I'm trying to attach some CSS to the browse button in a FileUploadField. Rather, since this is actually impossible, I'm hiding the actual field, and creating a pretty

Re: FileUploadField, CSS, and empty form values

2008-06-09 Thread Michael Laccetti
Yeah, I have been doing so, and do not see the field contents going through. I found an alternative, though, because I stupidly forgot that file upload + AJAX = no worky. Instead, I've embedded an iframe, and got the form submission going on through there, and that seems to be doing the trick.

Re: FileUploadField, CSS, and empty form values

2008-06-09 Thread Nino Saturnino Martinez Vazquez Wael
Ahh, yeah I remember something about that... Great to hear that you got it working. Whats the CSS issue(I've been thinking of doing a nice fileupload myself)? Michael Laccetti wrote: Yeah, I have been doing so, and do not see the field contents going through. I found an alternative, though,

Re: FileUploadField, CSS, and empty form values

2008-06-09 Thread Michael Laccetti
Took me a while to figure out how to get the nice looking stuff to properly hide the old-and-ugly implementation. Once I got it worked out (woo Firebug), things moved along. I just need to finalize the AJAX callback between the iframe and the parent page. Here's a sample of the nice looking

Re: FileUploadField, CSS, and empty form values

2008-06-09 Thread Nino Saturnino Martinez Vazquez Wael
Yup thats nice:) Michael Laccetti wrote: Took me a while to figure out how to get the nice looking stuff to properly hide the old-and-ugly implementation. Once I got it worked out (woo Firebug), things moved along. I just need to finalize the AJAX callback between the iframe and the parent