Hi,
I have a problem when I am uploading images.
The problem is that a users completes the FILE fields and then clicks submit, the next page then uploads the files. The problem is if the user refreshes this page, it will upload the files again and again. So what I done is use a script, for when the FILE is completed it sets a HIDDEN value on the first page, then the idea was that when the upload had finished I would would set that value back to "", but I can't seem to change the value of a FORM variable without re-submitting the form.
Does any one know how to change a FORM variable's VALUE without re-submmiting the data, or have a better idea on how to stop it keep re-uploading ??
Thanks,
Mark
P.S The other problm is that when a uses goes back to the first page and changes the FILE field they SHOULD be allowed to re-upload their new file.
I have a problem when I am uploading images.
The problem is that a users completes the FILE fields and then clicks submit, the next page then uploads the files. The problem is if the user refreshes this page, it will upload the files again and again. So what I done is use a script, for when the FILE is completed it sets a HIDDEN value on the first page, then the idea was that when the upload had finished I would would set that value back to "", but I can't seem to change the value of a FORM variable without re-submitting the form.
Does any one know how to change a FORM variable's VALUE without re-submmiting the data, or have a better idea on how to stop it keep re-uploading ??
Thanks,
Mark
P.S The other problm is that when a uses goes back to the first page and changes the FILE field they SHOULD be allowed to re-upload their new file.