[eluser]pickupman[/eluser]
It works similar to here on the boards. The uploading part of things use the $_FILES array when posting data to the server, but form validation only works on $_POST. What you will need to do is decide what half you want to check first. I would suggest the upload part, as it the most data, and you don't need users uploading files more than once. Once you use the upload class to make sure the file is uploaded, add it to the db, and save record id. Now run your validation code. If validation passes, update the previous record with form data. If validation fails, return a form with possibly a thumbnail for the image so the user remembers the image, pass a record id as a hidden field perhaps. When the user submits the form again, check for the hidden id, and if validation passes update record in db.