Thank You, cfUniForm...
Posted on June 13, 2012 at 9:13 PM in ColdFusion, Uni-Form Tag Library, jQuery
This probably comes as no surprise, but it has been many years since I have written a form without the aid of cfUniForm. Today, however, I had a need to throw together a ridiculously quick and simple upload form on a project that only has this one form on it. Hardly enough to warrant adding cfUniForm into the mix. Or so it seemed.
So I create the form (just an upload field), and load it up in the browser so I can test it. Everything works beautifully, until I hit submit. The controller throws a nice, juicy exception telling me that the form field either doesn't exist or is empty.
WHAT?!?!?!?!
So off to The Google I went, but came up with only a bunch of rabbit trails that were all way off the beaten path. I looked at the form markup and related jQuery what seemed like a thousand times, and then (on the 1,001th time, no doubt) I spotted it and instantly felt like a 1994 interwebs n00b all over again:
- <form action="/doUpload" method="post">
At that moment, I *knew* that I must write my first blog entry in what seems like forever so as to express my sincere gratitude. Thank you, cfUniForm, for allowing me the privilege all these years to not waste memory bank space for stupid shit like `enctype="multipart/form-data"`. I <3 you, cfUniForm. I truly do.
Latest Articles
- No recent entries.
Categories
- ColdBox (21) [RSS]
- ColdFusion (92) [RSS]
- Fusebox (3) [RSS]
- General (22) [RSS]
- jQuery (15) [RSS]
- Kalendar (1) [RSS]
- Linux (1) [RSS]
- Mura CMS (1) [RSS]
- Railo (1) [RSS]
- Rants (5) [RSS]
- Transfer (8) [RSS]
- Uni-Form Tag Library (36) [RSS]
Quick Links
Blogs I Read
Calendar
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
« Aug | ||||||
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Subscribe
Enter a valid email address.
There are no comments for this entry.
[Add Comment]