thats one solution but I wont be able to use those fancy ajax feedback panel thing and also wicket overrides the form's onsubmit with its own code.
If possible, validating the form before file is uploeded would do the best? > -----Original Message----- > From: Jeremy Thomerson [mailto:[email protected]] > Sent: 10 July 2009 16:07 > To: [email protected] > Subject: Re: validation of upload form > > Validate client-side? > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Fri, Jul 10, 2009 at 9:08 AM, fm u<[email protected]> wrote: > > > > hi, > > > > I am using simple ajax file upload with UploadProgressBar. > > I also have a required textarea in the same form. > > But > > when I try to upload a file without filling the required textarea, > > the > > file is uploaded first and then the validation error messages appear. > > > > What should I do to validate the form before actually uploading the file? > > > > Thanks, > > fmu > > > > _________________________________________________________________ > > Windows LiveT Photos: it's easy to store and manage your photos online. > See how. > > > http://windowslive.com/Online/Photos?ocid=TXT_TAGLM_WL_CS_PH_store_manage_07 > 2009 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > _________________________________________________________________ Lauren found her dream laptop. Find the PC that’s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
