Dynamically show/hide sections of DCT?
Is it possible to have 1 checkbox to show and another to hide a section of a dct so a user can expand, fill out, then hide a container? any code would be great!
im currently able to expand a hidden section, but i cant figure out how to re-hide it.
thanks in advance!
im currently able to expand a hidden section, but i cant figure out how to re-hide it.
thanks in advance!
0
Comments
-
How are you attempting to do this (FormAPI or some other method). If you are using FormAPI, look at the position userscript example.
(sorry if this does not help, but you didn't provide much information, like what version of TS, what OS, what clients, etc).0 -
sorry...im using the FORMAPI w/ TS 5.5.2
after i set the container's visibility to false, here is a code snippet i use to expand it:
IWEventRegistry.addItemHandler("/hide", "onItemChange", do_hide);
function do_hide(item){
var i = IWDatacapture.getItem("/Metadata/");
i.setVisible(true);
IWDatacapture.redraw();
}0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 145 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.