Wednesday, January 9, 2013

Forms without the loading window

When a user submits a form in PowerSchool, the default functionality is that a "loading..." popup appears giving the semblence of a progress bar.

Once this loading popup appears, the page is locked...no user interaction is allowed. This is usually all fine and good since a form submit usually takes you to a new page, freeing up the user to interact again.

But if you create a form that has a target="_blank" then the form's action is loaded in a new browser window or tab. The loading popup will never go away on the original page and the user won't be able to do anything unless they refresh the browser.

Certainly not ideal.

You can create forms that do not show the loading popup by simply assigning the form the noSubmitLoading class.

No comments:

Post a Comment