Hello,

Is it possible to prevent the modal window from closing after regular
onSubmit?

My use case is that I have a modal window with a form where the user can
upload a picture. The submit is not Ajax because (i think) the form could
then not be multi-part. Being stuck with a regular onSubmit, i cannot use
.setDefaultFormProcessing(false)); (am I wrong?)

Whenever I press upload, it will ask me if I want to continue and if I press
yes, it will close my modal window. I want to stay on that page for as long
as the upload takes place.

Thanks,
Cristi Manole

Reply via email to