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
3 replies
Subscribers
8 subscribers
Views
2080 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi I have a form having save and submit button. I need to save the fo
aayusha
Certified Senior Developer
over 11 years ago
Hi
I have a form having save and submit button. I need to save the form details on click on save and display the filled values.
Uptill this point all is good.
Now I want even if the user clicks on 'X' (close) on the form, then also the values filled should be saved.
Is it possible?
Thanks...
OriginalPostID-92681
OriginalPostID-92681
Discussion posts and replies are publicly visible
0
padmanabhanv
over 11 years ago
You can write a javascript event to handle that event and then save the details. Is this for tempo?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
This seems like a training issue more than something you should consider solving using JS.
I suggest you train the user the difference between a close button and a save option (that is available both in Tempo and the portal forms)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
gustavov609
over 11 years ago
function saveTask()
{
var form = $$('formArea').getElementsByTagName('FORM')[0];
form.elements["action"].value = window.FormConstants.SAVE_ACTION;
if (!form.onsubmit || form.onsubmit()) { form.submit(); }
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel