I really need some help on this because I am stumped on this one issue. I have an XSLT that I created a macro for so it can be rendered in a form. In the XSLT there is an option where the user and choose a 'Thank You' Page from a drop down but that does not seem to work.
xsl:text>There was a technical problem when we tried to subscribe you to email updates. Please try to submit the form again.</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 2">
<
xsl:text>There was a technical problem when we tried to subscribe you to email updates. Please try to submit the form again.</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 3">
<
xsl:text>You must provide your name in order to subscribe to email updates. Please click the back button and enter your name in the subscription form. (</xsl:text>
<
xsl:value-ofselect="$errorControl" />
<
xsl:text>)</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 4">
<
xsl:text>Please make sure you entered a valid email address. A valid address includes the @ symbol and a domain prefix (like .com or .edu). (</xsl:text>
<
xsl:value-ofselect="$errorControl" />
<
xsl:text>)</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 5">
<
xsl:text>You are already subscribed to US Endoscopys email updates. (</xsl:text>
<
xsl:value-ofselect="$errorControl" />
<
xsl:text>)</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 6">
<
xsl:text>There was a technical problem when we tried to subscribe you to email updates. Please try to submit the form again.</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 7">
<
xsl:text>There was a technical problem when we tried to subscribe you to email updates. Please try to submit the form again.</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 8">
<
xsl:text>You are already subscribed to US Endoscopys email updates.</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 9">
<
xsl:text>There was a technical problem when we tried to subscribe you to email updates. Please try to submit the form again.</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 10">
<
xsl:text>There was a technical problem when we tried to subscribe you to email updates. Please try to submit the form again.</xsl:text>
</
xsl:when>
<
xsl:whentest="$errorCode = 11">
<
xsl:text>There was a technical problem when we tried to subscribe you to email updates. Please try to submit the form again.</xsl:text>
</
xsl:when>
<
xsl:otherwise>
<
xsl:text>Other</xsl:text>
</
xsl:otherwise>
</
xsl:choose>
</
p>
<
p>
If you continue to encounter any errors, please
<ahref="{umbraco.library:NiceUrl(1084)}">Contact Us</a> for further assistance.
If Sean suggestions does not brign you closer to the soltuon, could you please try to submit your code again (not formatting it as code) since the above is very hard to read - me eyes are hurting :-)
XSLT Form Help
Hi All,
I really need some help on this because I am stumped on this one issue. I have an XSLT that I created a macro for so it can be rendered in a form. In the XSLT there is an option where the user and choose a 'Thank You' Page from a drop down but that does not seem to work.
Here is the code:
The Problem is when I insert it into Umbraco instead of getting this:
ENews Form
Redirect: /enews-sign-up/thank-you.aspx
Which means it has loaded successfully, I am get this instead:
Error parsing XSLT file: \xslt\WSC.Form.ENews - Copy (2).xslt
Any help would be much appreciated. Thanks
Have you tried adding ?umbdebugshowtrace=true to the end of the url and look at the trace information
Hi Vincent
If Sean suggestions does not brign you closer to the soltuon, could you please try to submit your code again (not formatting it as code) since the above is very hard to read - me eyes are hurting :-)
Cheers
/Jan
is working on a reply...