You are viewing limited content. For full access, please sign in.

Question

Question

Mobile Offline Forms Javascript not running

asked on March 22, 2022

I am wondering if anyone has had any success running offline forms specifically with external custom JavaScript functions. The online version of the forms work great but when an 'offline' version is accessed in the mobile app then then events/functions do not execute... 

 

The only info I have found is the following KB on JS issues with offline drafts/tasks but doesn't seem to explain this. I believe the error  occurs when the JS is bundled for offline use and maybe the external JS file cannot be accessed and imported? Thank you 

https://support.laserfiche.com/kb/1013847/certain-javascript-in-an-offline-form-task-submission-in-drafts-or-the-outbox-will-not-work

 

0 0

Replies

replied on March 22, 2022

Hi Christian,

Currently mobile app doesn't support external JavaScript for offline forms yet. The KB article is for internal JavaScript only. You can copy your javascript to MyFunction();  part in the KB as a workaround for now.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.