Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

loading indicator on Form Submit


Go to End


1371 Views

Avatar
Andre

Community Member, 146 Posts

22 June 2011 at 9:31pm

Hi There,

I have a form with an action on submit, which does last a bit longer (can be up to two minutes of computing). When the Form is submitted, the action has to send some emails, upload files and do some other kind of stuff. Is it possible to start an overlay (greybox or something) with a loading indicator image inside it, when the submit button is clicked and before the submit is computed? Or is there any other way, to not make the user believe that the application was hung up? what about sending forms by ajax? how to handle the response?

As a speciality, my frontend form includes some uploaded files with the MultipleFileUploadField (Uploadify module by uncle cheese).

regards

andre