[email protected] ..;" in Email Settings.

问题描述 投票:0回答:1
What my issue is regarding is when I receive the email with the form results, this particular field in the results shows the Email and not the Caption. I am trying to change the text in XSLT but it always hit otherwise. If I change the type of field to text then the following works. Can I not make a comparison with an email type?

this gives me the value of the dropdown list

<xsl:choose>
        <xsl:when test="udt:I_x0020_am_x0020_a='[email protected]'">display some note in email</xsl:when>
        <xsl:when test="udt:I_x0020_am_x0020_a='[email protected]'">display some note in email 2</xsl:when>
        <xsl:otherwise>It will always hit here</xsl:otherwise>
      </xsl:choose>

 <xsl:value-of select="udt:I_x0020_am_x0020_a" disable-output-escaping="yes" />
I'm trying to set up a contact form using the DNN Form and List Module and one of the fields I have set for Enquirers as a dropdown with an Email Type selected and have got the form submitting to the ...
xslt dotnetnuke
1个回答
0
投票

我试图使用DNN表单和列表模块来设置一个联系表单,其中一个字段我设置为下拉式,并选择了一个电子邮件类型,并根据下拉式中选择的查询,让表单提交到不同的电子邮件。为了达到这个目的,我在列表中输入了 "船长 "的值。

© www.soinside.com 2019 - 2024. All rights reserved.