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

Question

Question

Javascript not working on Forms

asked on July 25

Hi,

We are facing issues with JavaScript not working on forms.  Please note we had recently migrated the client to cloud and would like to know if that has any impact on the rest of it. The older processes which has JS are working, its the new one which seems to be failing.

 

Thanks

1 0

Replies

replied on July 25 Show version history

If you switched to the new designer, the JavaScript works very differently.

In the newer Forms Layout Designer, JavaScript runs in a sandbox so it cannot interact with the form elements directly, and all actions must be done through the new LFForm object API.

Javascript in the Forms Designer (laserfiche.com)

There are other changes as well, for example, jQuery is not loaded by default, so JavaScript built for the classic designer must be rewritten for the new designer, and functionality is more limited.

2 0
replied on July 25

If you can provide some of the JS snippets I can help you convert them to their LFForm equivalents

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

Sign in to reply to this post.