Skip to main content
Nintex Community Menu Bar
Question

Embed Javascript in header of Theme

  • March 23, 2023
  • 3 replies
  • 79 views

Forum|alt.badge.img+1

Hi

I need to embed som javascript in the header of my theme, for internal tracking of user behavior.
Where/How do i do that ?

 

3 replies

bamaeric
Forum|alt.badge.img+14
  • Apprentice
  • March 23, 2023

Which version of Nintex Forms (SharePoint on-premise, SharePoint online, or Nintex Automation Cloud) are you using? Which forms designer (Classic, Responsive, or New Responsive) are you using?


Forum|alt.badge.img+1

I am using Nintex Automation On-Prem(K2 Five), v. 5.6


Forum|alt.badge.img+15
  • Scholar
  • March 29, 2023

To insert javascript, just drop a “Data Label” control anywhere on your form (or in your Style template) and check its “Literal” property. When this property is checked, anything you enter into the text of the data label will be executed as a script at runtime. Does this help?