Avatar

Level 10

This nasty behavior occurs if the file is dirty (= filled but not saved) in front of the submit.

You can get rid of it with when you execute the script

before you submit the form.

Where to place this script depends on the scripts you use to submit the form.

Try it in the preSubmit:Event of the form, this generally is enough.