Thanks for the reply, Stefan. I'm trying to get my head around this. Let me try applying this to my situation and see if this is what you are saying:
So I have a stylesheet I created using the built-in generator. I have a value list with four items, names of courses for an online training. Each course has an associated email address; that of the instructor. I want FnL to email an instructor based on the course name chosen in the form, and in the body of the email I want to display the course name AND the email address.
So I will end up with a series of
<xsl:when test="udt:Course='instructor1@email.com'">
CourseName
<xsl:when>
statements, one for each item in the value list? The last one being the "otherwise" statement?
So I'm actually coding my value list into the stylesheet, and if I add more courses, I will not only need to edit the dropdown list for the "Course" field, I will need to add another "when test" to the stylesheet? Is that correct?