Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Anyone can point out what am i doing wrong here cos i can get the current Record Id on submission in a xslt transformed email to the admin.
The Record Id of the form is not displayind here.
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets" xmlns:umbraco.contour="urn:umbraco.contour" xmlns:ucomponents.dates="urn:ucomponents.dates" xmlns:ucomponents.media="urn:ucomponents.media" xmlns:ucomponents.nodes="urn:ucomponents.nodes" exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets umbraco.contour ucomponents.dates ucomponents.media ucomponents.nodes "> <xsl:output method="xml" omit-xml-declaration="yes"/><xsl:param name="records"/> <xsl:template match="/"> <xsl:variable name="id" select="umbraco.library:RequestQueryString('recordid')" /> <xsl:if test="$id != ''"> <xsl:variable name="record" select="umbraco.contour:GetRecord($id)" /> </xsl:if></xsl:template>
All other records fields are displaying though
<xsl:for-each select="$records//fields/child::* [caption = 'Race / Course']//value"> Race / Course : <span style="color:#8EA73D;"> <strong> <xsl:value-of select="."/> </strong> </span><br/> </xsl:for-each>
Any suggestion on this ??
Even when i hardcode the Id i still dont get anything.
<xsl:param name="records"/> <xsl:template match="/">
Nom / Last Name : <span style="color:#8EA73D;">
<strong>
<xsl:value-of select="$records//fields/child::* [caption = 'Nom / Last Name']//value"/>
</strong>
</span><br/>
<xsl:for-each select="$records">
Posted by : <xsl:value-of select="umbraco.library:FormatDateTime(./created, 'dddd, MMMM dd, yyy hh:mm tt')" disable-output-escaping="yes"/>
<xsl:value-of select="umbraco.contour:GetRecord('dffc7f1a-5480-4339-92e4-03cd8128195e')"/>
</xsl:for-each>
</xsl:template>
Got it working, just for the record am using contour 3.0.12 here.
<xsl:value-of select="$records/id"/>
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Get Record Id on submission
Anyone can point out what am i doing wrong here cos i can get the current Record Id on submission in a xslt transformed email to the admin.
The Record Id of the form is not displayind here.
All other records fields are displaying though
Any suggestion on this ??
Even when i hardcode the Id i still dont get anything.
Got it working, just for the record am using contour 3.0.12 here.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.