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)
Containers and FormAPI
Jumjum
Greetings All,
does anyone know how to reference the containers using formAPI. For Example if I remove the containers from my dct, my script works, but when I use the containers it fails to retrieve the value from the form.
Without Container
IWEventRegistry.addItemHandler("/Category", "onItemChange", onTypeSelected);
With Containter
IWEventRegistry.addItemHandler("/Systems Focus.Category", "onItemChange", onTypeSelected);
Has anyone come across this problem?
--Jum
Find more posts tagged with
Comments
Jumjum
Problem resolved,
For anyones reference the correct syntax using containers is as follows
IWEventRegistry.addItemHandler("/Systems Focus/Category", "onItemChange", onTypeSelected);
Where System Focus is the name of the Container and Category is the name of the item value that you want.
Good Luck,
Jum