I have a container on my TS 6.5 template that I want to appear collapsed when the user loads the template. However, it appears that something in TS is 'opening' the field after the template loads.
When I add this code, the javascript popup shows that it is collapsed (and it in fact appears to be collapsed) However, as soon as I close the popup, the container expands.
Is there a trick to get this container to actually show up collapsed when the form loads?
function init() {
var item=IWDatacapture.getItem("/Metadata");
item.setCollapsed(true);
window.alert(item.isCollapsed());
}
IWEventRegistry.addFormHandler("onFormInit",init);