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
2 replies
Subscribers
8 subscribers
Views
1217 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi, I have a piece of code on Submit event of form. Inside this I wan
senthilar
over 11 years ago
Hi,
I have a piece of code on Submit event of form. Inside this I want to know which button the user clicked (whether Submit or Cancel). Can someone tell me how I can check that....
OriginalPostID-98898
OriginalPostID-98898
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 11 years ago
It would be better if you take advantage of the fact that you can store the value of the clicked button in a process variable, check the value in the model after the forms is submitted and loop back if necessary to the task.
This will keep your form compatible with mobile and will prevent issues that could be introduced if you try to modify the click event handler of the button using JS.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
senthilar
over 11 years ago
Thanks you Eduardo!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel