Hi That's what I would like to avoid: re-upload the photo. I would like to upload photo, leave it in temp files; show the user the uploaded photo without creating its account, and reporting each error he has commited as "Username already used".
I think a good choice may be Submit user info using AJAX and if everything's OK, upload photo. Did you make something similar? On Tue, May 13, 2008 at 6:09 PM, jonknee <[EMAIL PROTECTED]> wrote: > > > But what happens when Model does not validate, Insert is not done and > there > > is no ID to use as filename? > > If the registration form didn't validate, why would you bother doing > anything with the file? They are going to get an error and have to > resubmit the form (with a new photo). > > > -- Nicolás Andrade www.nicoandra.com.ar www.treintaguita.com.ar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---