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
4106 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
Parents
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
Reply
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
Children
No Data