Close Form from jscript
Hi to all,
Is there a way to force the execution of the close form event directly at the load form event (for example after a check and an alert to the user)?
This to avoid of raising an user error not appreciated from the end users.
Thanks in advance.
Andrea
Comments
-
I have a solution for V7, but the map we use currently has not been migrated to a V9 project yet. I have no idea if it would work the same in V9 as in V7 -- but hope this or something similar when we do migrate later this year.
In our V7, we have a client side script which ultimately calls
parent.CancelClick()
to immediately close out the form after displaying a confirmation message on form load.
0 -
Unfortunately It seems not working on v9.
But, thanks for the idea (wich could be useful on my older processes ;-) )
Andrea
0 -
Try cancelForm() from a client-side script. You can also use buttonClick to click any buton on a form so you could add your own cancel button and click this if that was more convenient.
Hope this helps.
0 -
Oh...!!! It was so easy....!!! :smileyembarrassed:
Thank you Paul!
Andrea C.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 154 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories