Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Hide/show the DCT save and generate buttons dynamically?
System
We have a few seconds of load time on our DCTs, i would like to hide the save/generate buttons with FORMAPI or javascript until a callserver is done loading. we have issues were users spam save/generate before the form is dont loading which throws errors.
i am able to hide the finish/cancel buttons simply, but if i use the ID of the save/generate buttons it doesnt work? any help would be greatly appreciated
works
var name_element2 = parent.document.getElementById('iw.base.wizard.finish.button');
name_element2.style.display = 'none';
DOESN'T WORK
var name_element2 = parent.document.getElementById('iw.ccpro.datacapture.edit_form.generate.link');
name_element2.style.display = 'none';
Find more posts tagged with
Comments
There are no comments yet