Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
7 subscribers
Views
4104 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi, When the form submit button is clicked twice, its throwing an error lik
janakirk
over 12 years ago
Hi,
When the form submit button is clicked twice, its throwing an error like "There was a problem executing the task. This task has already been completed."
So can we avoid this by giving "please wait or something" when the user clicked for second time.
Thanks!...
OriginalPostID-25610
OriginalPostID-25610
Discussion posts and replies are publicly visible
0
Michael Tan
Appian Employee
over 12 years ago
Janaki,
This should be something that should be addressed via training for your users, as the submit button should not be double clicked.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
janakirk
over 12 years ago
Hi Tan,
I Want to know is there any way to avoid this. As the same thing if it's done in java applications the second click wont work or can show some alert message like "please wait".
Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Michael Tan
Appian Employee
over 12 years ago
At the moment there is no way to prevent that, but I have seen in future versions of the product that there will be a feature added to prevent double submission of a form.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Bob
over 12 years ago
You should probably search the forums. I seem to recall Eduardo providing some JQuery code to disable the submit button after the first click.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
janakirk
over 12 years ago
Hi Robins,
Is there any solution to this?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
janakirk
over 12 years ago
Robins, Any JQuery to avoid the double submission
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Suparn Narvekar
Appian Employee
over 12 years ago
To prevent double submit you can hide the button as part of the submit event of the form. This approach will hide the button once it is clicked avoiding multiple submits. In order to do it you can use: window.FormAPI.hide("button1"); where button1 has to be replaced with the ID of your submit button.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Ashvin Kapur
over 9 years ago
Suparn & Others,
(Background: Appian v7.2; Applications Portal)
To prevent double submit, we are using the window.FormAPI.hide code above. However, we are enabling the form to "also display submission buttons at the top of the form" (
screencast.com/.../VIaHkT2ku)
. When we click a submit button, the buttons on the top are hidden, as expected, but the buttons at the bottom of the form are not hidden. Any advice on how to have all form buttons hidden upon submission?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel