(continued from yesterday)
I finished writing the second file upload version with AJAX, so what's the problem now? Now it seems I can't even use javascript to submit the form, which is kind of needed if I am to first check for any conflicts before uploading. Because I'm out of time to upload somewhere first and then fiddle with this and that, I added two more buttons. So on the bottom of the upload form there these buttons: Verify transfer, Upload, Edit, Cancel (though not all visible at the same time). And here's another trick: disabled file fields won't get uploaded.
Final version: User first enters data, clicks 'Verify transfer', if there's a problem, user is alerted and has to reenter data, if it's fine, 'Verify' button disappears, fields become read-only, and Upload and Edit buttons appear.
Yes, I hate it myself, but I'm on a deadline and the world isn't helping to make a decent interface either. Will desktop applications move to browser-based online applications? Not at this speed of "security improvements". Don't get me wrong, I like security, but not at every cost and that one seems to be increasing constantly. |