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 guys, I'd like to display on a page the answers of a form, but only for people who selected the value "Yes" to the publication authorization.
<xsl:variable name="records" select="umbraco.contour:GetRecordsFromForm('0d84426b-e30c-467d-8c3a-8f92a61d127d')/uformrecord[state = 'Approved']//fields//yestopublication[value = 'Yes']"/>
So, if I understand my code, I get all the records from a specific form. These records must have an Approved state, but after this it doesn't work. I also only want the records with Yes to the field yestopublication.
Can you help me with this?
Ok, finaly it's more a xslt problem than a contour one. I succeed with
1) getting records
2) using a for-each
3) using a if
So, I solved my problem!
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 all records with a certain value
Hi guys, I'd like to display on a page the answers of a form, but only for people who selected the value "Yes" to the publication authorization.
So, if I understand my code, I get all the records from a specific form. These records must have an Approved state, but after this it doesn't work. I also only want the records with Yes to the field yestopublication.
Can you help me with this?
Ok, finaly it's more a xslt problem than a contour one. I succeed with
1) getting records
2) using a for-each
3) using a if
So, I solved my problem!
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.