Everything works fine when user does what they are supposed to. However, if user forgets a mandatory field, then they get an error and are allowed to correct that error. The files that were chosen in previous step disappear, and when you go to select them again, the first one you browse to never shows as being selected. This, of course, prevents you from choosing any additional files as well.

Comments

attiks’s picture

Assigned: Unassigned » jelle_s
ndf’s picture

Confirm this.
If the webform doesn't validate (a.k.a. shows submission errors like 'you forgot field ...'), previous selected files in the multifile field are lost. So the user has to re-select all multi-files before he submits again.

jelle_s’s picture

Status: Active » Closed (works as designed)

This data is lost because there is now way of telling which file was selected from the hard drive once the page is refreshed. This is because of the way the multifile plugin works and I'm afraid we can do nothing about it.

akshita’s picture

can we use the same logic of single file upload. because even when captcha verification fails the uploaded files still shows up on the screen?

Any help appreciated.....

attiks’s picture

#4 Please don't reply on closed issues and if you do, please set them back to active (if there's a reason).

To avoid this problem you can have a look at clientside_validation

To solve this problem someone needs to rewrite multifile.inc to support this, so @Akshita if you really want this try changing it yourself, find someone willing to do it for you or find funding so you can pay someone to do it.

@Akshita 1 ? is enough

akshita’s picture

thanks and sorry for replying to a closed thread.