Forums / Setup & design / Display value of Ezselection
Valentina Ferrari
Monday 12 July 2004 6:24:21 am
Hi all! I would like to display the value of an ezselectin datatype. I'm fetching all the properties of a user.I'm using this code to view if the user is male or female:
{$Selfregistered:item.data_map.sex.content.0}
But it returns "0" and I would like to display "male".
What is the right string to display the description of ezselection value?
Thanks in advance,Valentina
Paul Forsyth
Monday 12 July 2004 6:46:27 am
The template for ezselection:
sendmail/design/standard/templates/workflow/eventtype/result:
shows you how.
paul
--http://www.visionwt.com
Monday 12 July 2004 6:59:03 am
Hi Paul!I have nothing in this folder! :o(
Monday 12 July 2004 7:08:09 am
Ah, my mistake. Cut & paste failed..... doh!
This is the file:
design/standard/templates/content/datatype/view/ezselection.tpl