Other Resources
Note: This section applies to classic forms. For CSS and Javascript in the Form Designer, see this section.
To learn more about how to use jQuery, view the official jQuery documentation.
JavaScript
The following resources offer sample JavaScript customizations:
- The sample form that is named CSS, JavaScript, and Formula Examples, available in the Solution Templates. This form shows you how to do the following with JavaScript:
- Set the font of field labels, including that of required fields
- Highlight a row in a table when certain values are entered in the table
- Implement a button that lets a user check/clear all checkboxes in a field
- Automatically fill a field if the user selects one option
- Show a message telling a user how many characters are left in an input box
- Display an uploaded picture in the form itself
- Duplicate Address collection when a box is checked
- Only accept as input a date that is either the present day or a future day.
- Display a button when a box is checked, or when a certain option in a drop-down is selected, or when a field is filled
- Display a warning when two inputs do not match
- The Laserfiche Administration Guide:
- Laserfiche Solution Exchange:
- Make a field appear if a certain option is selected.
- Prefill fields used in lookup rules
- Load a document from WebLink based on the user's selection of a drop-down choice.