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
Hi All,
Took me a while to figure out and find the solution to this one, so I thought I would post it.
Sortorder works fine on a single page, but when you have multiple pages in your form you need to do this:
<xsl:for-each select="$records//fields/child::*">
<xsl:sort select="@pageindex" data-type="number" order="ascending" />
<xsl:sort select="@fieldsetindex" data-type="number" order="ascending" />
<xsl:sort select="@sortorder" data-type="number" order="ascending" />
.....
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
Sortorder on multiple pages for XLST formatted emails/files etc
Hi All,
Took me a while to figure out and find the solution to this one, so I thought I would post it.
Sortorder works fine on a single page, but when you have multiple pages in your form you need to do this:
<xsl:for-each select="$records//fields/child::*">
<xsl:sort select="@pageindex" data-type="number" order="ascending" />
<xsl:sort select="@fieldsetindex" data-type="number" order="ascending" />
<xsl:sort select="@sortorder" data-type="number" order="ascending" />
.....
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.