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

Question

Question

Basic JavaScript Knowledge Resources

asked on January 20

I've been using Laserfiche 11's Modern Designer, and I've been trying to get better by learning JavaScript through a simple question and answer process.  Unfortunately, I've run into needing to weed out JS code that was used in previous versions of LF because it doesn't work in the newer version of LF.

Does anyone have any resources on how to use JavaScript with LF 11 Modern Designer?  I'm looking to do a back to basics approach that explains objects, properties, terminology, etc.

I've got experience in object oriented programming in Visual Basic and C++, but I'd like to learn about how to use JavaScript in the Laserfiche environment.

Thanks,

Scott

0 0

Answer

SELECTED ANSWER
replied on January 20

This is a good place to start: The LFForm Object

There are several posts on Answers as well where users have broken down the coding.  There a few videos in Aspire as well that walk through JS in the new designer and some solutions in the Marketplace.

2 0

Replies

replied on January 20

Aspire is the best place to find JS courses from previous empowers. If you are able to come to Empower this year I'd highly recommend it as well.

I am putting together a CSS/JS best practice guide for the form designer right now. It should help the documentation AI chatbot weed out classic vs form designer scripts. In the meantime I would

  1. Learn a little about promises to handle asynchronous methods from the LFForm object
  2. Skim through the LFForm Object to learn about the various methods available
  3. All fields support HTML in their labels/text above/text below if you want to do any HTML customizations outside of a typical custom html field
  4. Make sure to use try/catch branches in your code so you don't break forms saving to the repository
5 0
You are not allowed to follow up in this post.

Sign in to reply to this post.