Skip to main content
Nintex Community Menu Bar

Can K2 Fine Form read a browser console

  • August 11, 2021
  • 3 replies
  • 9 views
  • Translate

squaladesign

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

Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+10
  • Nintex Employee
  • 94 replies
  • 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.

Translate

  • 4 replies
  • 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>
Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings