Sep 14th, 2011, 10:01 AM
Hi Qedao,
Interesting! Yes, changing the Option List does seem like a bit of a hack, doesn't it.
Drat, I just checked out the code and no, the Option List value is never passed - only the display value - even in the advanced email templates.
How may items are there in your Option List - just the 12, or are there other instances you're dealing with? If there aren't that many, you could add some logic to convert the strings back to the integer values...
Hack? Yup... But unfortunately, I think you may be stuck with doing something along those lines...
- Ben
Interesting! Yes, changing the Option List does seem like a bit of a hack, doesn't it.
Drat, I just checked out the code and no, the Option List value is never passed - only the display value - even in the advanced email templates.
How may items are there in your Option List - just the 12, or are there other instances you're dealing with? If there aren't that many, you could add some logic to convert the strings back to the integer values...
Code:
{if $ANSWER_yourfield == "January"}
1
{elseif $ANSWER_yourfield == "February"}
2
...
{/if}
Hack? Yup... But unfortunately, I think you may be stuck with doing something along those lines...
- Ben