I'm looking to extend the delivery schema.
E.g. like the subject field supports <%= recipient.firstName %> and replaces the tag with the recipient's first name value.
Any ideas how to make the js tags execute?
The immediate answer is to just use eval(), e.g.:
var s = (@field + '').match(/<%=?(.+?)%>/);
if (s) eval(s);
Features can be added as needed though.
You can script the field's consumer to parse and render tags found in the fields.
Outside that, delivery and jssp are the only ootb features that render jssp tags afaik.
Thanks Jon, appreciate the response.
Can you give a working example? (with screengrabs would be great) so i can replicate and know where things are to be added.