Issue Passing querystring to javascript script

I’m trying to pass my querystring to a javascript.

<script>
					if (window.DocSpring) {
  DocSpring.createVisualForm('.fa-form', {
   
    templateId: 'tpl_TfTmKsFPsGnhSHRfxT',

This works, when I change to this, it doesn’t

					if (window.DocSpring) {
  DocSpring.createVisualForm('.fa-form', {
   
    templateId: dmx.parse('query.template_id'),

This doesn’t work? What am I missing?

Community Page
Last updated: