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)
FormAPI referencing over multiple form pages
MartinAtCitat
Hi All,
using DCT-XMl similar to the snippet below, in combination with the items-per-page attribute in templating.cfg (set to 2), the DCT is divided into two pages for the user. Now, I would like to register an eventhandler (FormAPI) for the "choose"-item to affect the "sometimesShowMe" item (which unfortunately isn't on the same page as the "choose").
Does anyone have an idea of how to reference items over multiple pages?
< item name="choose">
< radio required="t">
< option selected="t" value="on" label="On"/>
< option selected="f" value="off" label="Off"/>
< /radio>
< /item>
< item name="notimportant">
< text />
< /item>
< !-- items-per-page="2" makes this line a page divider in the user form -->
< item name="notimportant">
< text />
< /item>
< item name="sometimesShowMe">
< text />
< /item>
Best Regards
Martin
Citat Solutions AB
Stockholm, Sweden
Find more posts tagged with
Comments
Adam Stoller
I would think you'd be able to reference it via it's Xpath like any other item - yes? The pagination is handled at DCT rendering time and shouldn't affect the Xpath information within the actual DCT / DCR.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
MartinAtCitat
Sorry for another useless post... You're absolutely right! Thank you for clearing my eyes on that one.
Best Regards
Martin Haggren
Citat Solutions AB
Stockholm, Sweden
Tel_Aggregation.dcpackage