Hi all,
I’m looking for a way to inject template text with merge fields dynamically to my page (at runtime, with JS).
Example:
I want to add a text like “… the latest status is {{status__c}} …” and have the merge field transformed to status value.
My idea was to use a template field, set it’s new text and render it again.
I replaced the fields text in the HTML DOM element with JS (which works). But after calling the render() method of the template field, the old/previous content is set again.
Any suggestions?
Question
how to replace and re-evaluate template text
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
