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)
Presentation Template Question
Icebreaker
Hi There,
I have a select item that has 4 options with id and values in my DCT, after creating a DCR, in my tpl I am calling the value of the select item.
Example: [html][/html]
Is there a way to call the id of the select item? If so, kindly advice.
Regards,
Find more posts tagged with
Comments
nipper
Call the id ?
you mean you have option label="this" value="that"
iw_value will return "that" but you want "this" ?
That is not available in the TPL since it is not in the DCR.
You have 2 choices, crack open the DCT and parse and find the value (a difficult and por solution, but it does not require changing the DCR) or add some FormAPI to, onitemchange of the select set a hidden field with the label which is accessible through FormAPI.
Icebreaker
Thanks Nipper,
FormAPI solution would be the eaiser way to do it.
Regards,