Skip to main content
Nintex Community Menu Bar

Can K2 Fine Form read a browser console

  • August 11, 2021
  • 3 replies
  • 27 views

squaladesign

Can a K2 Form or a data label read a parameter that come from browser console?

3 replies

Forum|alt.badge.img+10
  • Nintex Employee
  • August 11, 2021

squaladesign

No not really, I know how to add JavaScript, I was asking if I can read, with JavaScript or something else, the browser console and pickup a parameter that I need.


  • March 4, 2022

I don't think it's possible to access the console using code, but the data you want should be found in an element or variable on the page, so you will have to find the name of that element.

Then you can get this data into K2 by putting a script like this in your datalabel:

<script type="text/javascript"> $("[name='YourDataLabelName']").SFCLabel('option', 'text', 'YourElement.value'); </script>