Print from K2 form workspace app

  • 29 October 2019
  • 2 replies
  • 34 views

Badge +8

I have a K2 form built that has a print button with javascript code to use the print function from windows

<script type="text/javascript">$(document).ready(function() { $("[title='Action Button']").click(function() {window.print()});});</script>

 

This works using the form via PC, and also via the browser on a phone

i have published the form as an app to be used within workspace

The print button doesn't bring up the dialog now

is there something that can be done to have it work via Workspace app?


2 replies

Hi braddo

injecting JS into forms/views is not supported in Workspace app.

You may log this as a feature request on the Ideas forum: https://ideas.k2.com

Badge +4
Is there a workaround that enables you to print from tablet without java. Thanks

Reply