Hi folks,

Does anyone here know how to output the name, not the value, of the
currently selected item from an option list in a template?  To get the
value is trivial, either just reference the element:

<%opt_test%>

or use a render tag:

<%!! Context:CurrentPage.Elements.GetElement(opt_test).Value !!%>

I've tried educated guessing (looking at the RQL) by using:

<%!! Context:CurrentPage.Elements.GetElement(opt_test).Value.Name !!
%>

or

<%!!
Context:CurrentPage.Elements.GetElement(opt_test).Value.Description !!
%>

But get nothing...

Any ideas?

Cheers,
Chris.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to