Thanks for the replies...
1. How do I check the source code of the mail?
anyway - would this enable us to receive different fields (more fields) than the user who completed the form?
2. I have tried the XSLT approach, but not sure how to amend the script so that the user does not recieve all the fields?
I can remove a field from the list, but this is removed for BOTH the recipient (user who sent the form) and ourselves - and we would still like to view ALL fields submitted.
e.g. our code is below:
HTML
<code>
<style type="text/css">
.normal, .normalBold {font-family: Verdana, Tahoma, Arial, Helvetica;font-size: 11px;font-weight: normal;}
.normalBold{font-weight: bold;}
</style>
<table>
<tr>
<td class="normalBold">First name</td>
<td class="Normal">[First name]</td>
</tr>
<tr>
<td class="normalBold">Last name</td>
<td class="Normal">[Last name]</td>
</tr>
<tr>
<td class="normalBold">Email</td>
<td class="Normal">[Email]</td>
</tr>
<tr>
<td class="normalBold">Telephone number</td>
<td class="Normal">[Telephone number]</td>
</tr>
<tr>
<td class="normalBold">Created by</td>
<td class="Normal">[Created by]</td>
</tr>
<tr>
<td class="normalBold">Created at</td>
<td class="Normal">[Created at_UDT_Value]</td>
</tr>
<tr>
<td class="normalBold">Changed by</td>
<td class="Normal">[Changed by]</td>
</tr>
<tr>
<td class="normalBold">Changed at</td>
<td class="Normal">[Changed at_UDT_Value]</td>
</tr>
</table>
</code>
XSLT
<code>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:udt="DotNetNuke/UserDefinedTable" exclude-result-prefixes="udt">
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" />
<!--
This prefix is used to generate module specific query strings
Each querystring or form value that starts with udt_{ModuleId}_param
will be added as parameter starting with param
-->
<xsl:variable name="prefix_param">udt_<xsl:value-of select="//udt:Context/udt:ModuleId" />_param</xsl:variable>
<xsl:template match="udt:Data" mode="list">
<style type="text/css">
.normal, .normalBold {font-family: Verdana, Tahoma, Arial, Helvetica;font-size: 11px;font-weight: normal;}
.normalBold{font-weight: bold;}
</style>
<table>
<tr>
<td class="normalBold">First name</td>
<td class="Normal">
<xsl:value-of select="udt:First_x0020_name" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">Last name</td>
<td class="Normal">
<xsl:value-of select="udt:Last_x0020_name" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">Email</td>
<td class="Normal">
<xsl:value-of select="udt:Email" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">Telephone number</td>
<td class="Normal">
<xsl:value-of select="udt:Telephone_x0020_number" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">Created by</td>
<td class="Normal">
<xsl:value-of select="udt:Created_x0020_by" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">Created at</td>
<td class="Normal">
<xsl:value-of select="udt:Created_x0020_at_UDT_Value" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">Changed by</td>
<td class="Normal">
<xsl:value-of select="udt:Changed_x0020_by" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">Changed at</td>
<td class="Normal">
<xsl:value-of select="udt:Changed_x0020_at_UDT_Value" disable-output-escaping="yes" />
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="/udt:UserDefinedTable">
<xsl:variable name="currentData" select="udt:Data" />
<xsl:if test="$currentData">
<xsl:apply-templates select="$currentData" mode="list">
</xsl:apply-templates>
</xsl:if>
</xsl:template>
<xsl:template name="EditLink">
<xsl:if test="udt:EditLink">
<a href="{udt:EditLink}">
<img border="0" alt="edit" src="{//udt:Context/udt:ApplicationPath}/images/edit.gif" />
</a>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
</code>
p.s
using form and list v5.1 (due to using DNN v5.1.1 and framework 3.5)