Expand my Community achievements bar.

How can do I set cancel button, if i press the cancel button and the form should be closed.

Avatar

Former Community Member
I designed a form by using adobe livecycle designer 7.0.

I want to perform an action ie., How can I set cancel button, if i press the cancel button and the form url browser should be closed.



Can someone help?



Thanks & Regards

DINESH
5 Replies

Avatar

Former Community Member
if you found how to make a cancel button or someone else know how to make it, i would appreciate if i received an hint or the code.



Best regards



Pascal

Avatar

Level 7
A cancel button normally closes a dialog. What would you want yours to

do?



Aandi Inston

Avatar

Former Community Member
I only want to make a cancel button to close my window... In javascript, it could be



opener = self;

self.close();



Thanks.

Avatar

Former Community Member
Hi Pascal,



Add this script to the click event of your button. It will close the window containing the form.



app.execMenuItem("Close");



Denver

Adobe Enterprise Support.