Include page property, query string data or cookie value in the email
I have added some enhancements to the XSLT to include page property, query string or cookie data along with the email.. If anyone interested see below
Add a new Doc Type "Pliable Hidden" under "Pliable Fields" and add the following properties i. Name: Label, Alias: label, Type: Textstring ii. Name: Field Name, Alias: fieldName, Type: Textstring Allow this Doc Type under Pliable Form
Open PliableForm.xslt and add the following code under renderForm template just inside the first <xsl:choose>
Now you can add a Pliable Hidden under a Pliable Form in the content section and use
- Use document type property name alias as it is. - Use @ for built in Umbraco fields. (eg:- @nodeName ) - Use # for query string. ( eg:- #id ) - Use % for cookie value. (eg:- %language )
Include page property, query string data or cookie value in the email
I have added some enhancements to the XSLT to include page property, query string or cookie data along with the email.. If anyone interested see below
i. Name: Label, Alias: label, Type: Textstring
ii. Name: Field Name, Alias: fieldName, Type: Textstring
Allow this Doc Type under Pliable Form
Now you can add a Pliable Hidden under a Pliable Form in the content section and use
- Use document type property name alias as it is.
- Use @ for built in Umbraco fields. (eg:- @nodeName )
- Use # for query string. ( eg:- #id )
- Use % for cookie value. (eg:- %language )
is working on a reply...