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)
Disable CGI callout buttons and replicant addition
cheeku
Is it possible to disable CGI callout buttons and replicant add, delete functionality on a DCT using FormAPI?
Find more posts tagged with
Comments
Adam Stoller
I believe you can use FormAPI to make the cgi-callout field read-only.
I'm not sure about preventing the addition of replicants though - you can try to make the replicant item read-only too - but I'm not sure if it will have the desired effect.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
clogan
If you don't want the addition button to a replicant, just have your default, min, and max the same number in the replicant definition.
<item name="myreplicant
<label>My Replicant
<replicant default="5" min="5" max="5">
.
.
.
</replicant>
</item>
I hope this helps.
-Craig
Dwayne
The problem with that method is that it's static. Given that the original post asked about controlling it via FormAPI, I would assume that the intent was to be more dynamic about it, e.g., limiting the number of allowed replicants based on the value of a dropdown control somewhere else on the form.
To the best of my knowledge, this functionality isn't available with the current release of FormAPI. Hopefully in future versions ...
--
Current project: TS 5.5.2/6.1 W2K
Migrateduser
You're correct. As of 6.1 SP1, formAPI has no real support for trapping replicant events. However, replicant events will be introduced in TS6.5.
--Daniel