Hi everyone,
I'm working on a Laserfiche Forms process and need help with implementing a specific condition using JavaScript.
In my form, I have a table with two fields:
-
Risk Level (Field ID: 80)
-
Significant (Dropdown, Field ID: 82)
What I want to achieve is:
If the Risk Level is 16 or higher, the Significant dropdown should automatically be set to "YES" for that row.
The fields are inside a repeating table, and I'm looking for the best way to handle this using the LFForm JavaScript API.
Has anyone done something similar or have a working script for this use case?
Thanks in advance!