Jump to content

xfa180

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. This is an example of a bit of code I have embedded into an HTML block in a Tabular Report Datapage: <script> function newFunction() { if("[@field:FIELDNAME]" == "FIELDVALUE"){ window.open('http://www.site.com/page.html?parameter1=[@field:fieldname1]&parameter2=[@field:fieldname2]'); } else { alert ('no field value'); } } </script> <input type="button" value="click me" onclick="newFunction()" /> When I view the source code of this script, after deploying the datapage, the parameter value appears in the 'if' statement, but the parameters are not appearing in the windo
×
×
  • Create New...