Freelancer
Well-known member
I use custom multiple choice fields in certain custom templates with XF1 core and add-ons to show summaries or lists of certain content.
Now I encounter one problem with custom fields that have multiple choice values: When I insert them as $field.fieldID they render the value instead of the text that is associated with the value.
For example: a $field.petOwned comes with multiple values like $petDog, $petCat, $petMouse etc but when I insert it into a custom template it renders "petDog" (the value) instead of "Dog" (which is the associated text).
What am I doing wrong here? Is there some special {xen:something} I need to incorporate to make it display the actual text and not the value?
Now I encounter one problem with custom fields that have multiple choice values: When I insert them as $field.fieldID they render the value instead of the text that is associated with the value.
For example: a $field.petOwned comes with multiple values like $petDog, $petCat, $petMouse etc but when I insert it into a custom template it renders "petDog" (the value) instead of "Dog" (which is the associated text).
What am I doing wrong here? Is there some special {xen:something} I need to incorporate to make it display the actual text and not the value?