Sep 27, 2012 8:28 PM
32 Posts

Multiple clicks creates multiple documents?

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: submit
  • Replies: 2
Hi,
 
My application has gone live.  Yay. 
 
However... 
 
I have found that when users click the submit button multiple times, that it created multiple documents. 
 
The form design is a std form, there is an agent that runs on save. 
 
I have checked a 'double click' properties on the button and it is set to 'No Submission'
 
Does anyone else have this issue? 
 
Sep 28, 2012 4:17 AM
135 Posts
Re: Multiple clicks creates multiple documents?
One way to prevent this is to disable the button in client side Javascript when clicked.
Sep 29, 2012 7:53 AM
129 Posts
Re: Multiple clicks creates multiple documents?
I had a similar issue a while back.
 
Maybe this can be of help: 
http://dontpanic82.blogspot.no/2010/06/xpages-avoid-saving-duplicate-documents.html