Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
hidden cgi-callout
Valentine
Got the following in one of the DCT's:
[HTML]
[/HTML]
Now I've got a requirement to display this button only in certain situations.
I've tried making it readonly or invisible, but it does not do anything, since cgi-callout is just a "value" of the hidden field.
Is it possible to remove the button with FormApi?
Find more posts tagged with
Comments
Adam Stoller
I vaguely remember encountering an issue like this over a year ago - I don't remember if we resolved it via:
I realize that's not a tremendous amount of help, but I suggest trying the first suggestion to see if that actually works (formAPI's control over the DCT tends to be better than hard-coded controls within the DCT's XML).
kshitiz
Is it possible to remove the button with FormApi?
Yes. You can hide the item using FormAPI. you can use setVisible() for that particular item.
TestReport.rptdesign
Valentine
Yep. Container around it works fine.
How come I haven't thought about wrapping it before?
It's not pretty, but it works.
I've tried setReadOnly or setVisible w/o any results.