Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
replicant default value for more than 1 item
Hans
I would like to set up a replicant with min="2" textarea items, with a different default text for each item.
Any ideas on the best way to do this? There is no event when user adds an item, so formAPI is not obvious.
thanks very much, all help appreciated.
Hans
Find more posts tagged with
Comments
Migrateduser
FormAPI. Have the FormAPI set the default value in the second replicant.
- Jason
Hans
OK, but how do I do that...
Specifically, what event would trigger the formAPI code? onItemChange? attached to the first replicant item?
thanks,
Migrateduser
If your formAPI is the last thing in the DCT (just before the </ruleset> tag), you shouldn't need any trigger. The replicant should already exist before the code executes.
- Jason