cancel
Showing results for 
Search instead for 
Did you mean: 
cyclonereverb
Nintex Newbie

Providing users with a processing animation upon form submission

Jump to solution

I have created a bunch of separate SharePoint lists that use Nintex 2013 forms which my organisation uses for HR functions - recruitment, health and safety, updating personal details etc. Each has at least one Nintex workflow that is triggered when certain criteria have been met. The workflows are nothing particularly special, they just control item level permissions, get user credentials from the UPS, and go through a multi-approvals process before flicking a few emails to relevant parties, however they can be quite large ( although I try to keep below the recommended 500kb mark and have separated things in to multiple, smaller workflows where possible).

When a user submits a form and the the workflow initiates, these forms hang for about 10 seconds and the user is left with a blank screen before they are redirected back to the default list view. The browser tab does show the spinning wheel, but it is not particularly obvious, and people have a tendency to be impatient. Has anyone had any luck providing the user with a please waitsubmitting or processing animation instead of the blank screen before redirecting the user back to the list? I am aware of the ability to display a confirmation message, but was hoping for something a bit more aesthetically appealing. Or can the confirmation message window be leveraged at all perhaps?

0 Kudos
Reply
7 Replies
cyclonereverb
Nintex Newbie

Re: Providing users with a processing animation upon form submission

Jump to solution

just worked it out using JavaScript with the help of this post:

 

View solution in original post

0 Kudos
Reply
Automation Master
Automation Master

Re: Providing users with a processing animation upon form submission

Jump to solution

if you want to shorten time while user needs to wait, add pause action at the very begin of workflow

 

Reply
cyclonereverb
Nintex Newbie

Re: Providing users with a processing animation upon form submission

Jump to solution

never considered this. Thank you!

0 Kudos
Reply
JairHeCa
Nintex Newbie

Re: Providing users with a processing animation upon form submission

Jump to solution
Hi @cyclonereverb, do you mind telling me how did you solve this?
0 Kudos
Reply
cyclonereverb
Nintex Newbie

Re: Providing users with a processing animation upon form submission

Jump to solution

@JairHeCa ok, so this is going back a wee while! I have unpicked what I can - see below:

 

It all looks quite simple, really. It is initiated by the Client click on a button (advanced settings of the button properties)

 

Client click: 

MyButtonOnClientClick()

 

This calls the custom javascript in the form settings:

function MyButtonOnClientClick()
{
Page_ClientValidate();
if(Page_IsValid)
{
SP.UI.ModalDialog.showWaitScreenWithNoClose('Please wait', 'submitting your data...');
return true;
}
else
{
return false;
}
}

This is a rinse and repeat solution - I have different messages on 3 individual buttons (save as draft, save and submit, and cancel) by simply duplicating the above and modifying the function name and message that is contained.

 

It is a pretty bulletproof solution, and the bigger the form (the longer the save time), the more effective this becomes. 

 

Hope this helps Smiley Happy

0 Kudos
Reply
JairHeCa
Nintex Newbie

Re: Providing users with a processing animation upon form submission

Jump to solution

Thanks for the response @cyclonereverb, I'll give it a try and let you know the outcome. I forgot to mention I'm using Nintex O365.

0 Kudos
Reply
cyclonereverb
Nintex Newbie

Re: Providing users with a processing animation upon form submission

Jump to solution

@JairHeCa Hmmm not sure if this will work in 365 or not - I am familiar with on prem environments only - but worth a shot. Good luck!

0 Kudos
Reply