I've got a form for uploading documents made using asp. As it takes a while to upload many documents, I've added a popup window with an animated gif which comes up on submitting the form, so that the user knows something is actually happening. That's all fine so far.
Next, I need to close the popup when either the next page fully loads, or when the next page redirects back to the form with an error message (which is already built in to ensure that no fields are left blank). In the latter case, it would be preferable not to even open the popup, as no document is actually uploading, but I thought I'd start simple!
Next, I need to close the popup when either the next page fully loads, or when the next page redirects back to the form with an error message (which is already built in to ensure that no fields are left blank). In the latter case, it would be preferable not to even open the popup, as no document is actually uploading, but I thought I'd start simple!