Client-side JavaScript Expressions
Fields on the FSM mobile application can be configured to evaluate JavaScript expressions to compute their various properties dynamically as the user interacts with the form (min, max, value, etc). These expressions will have access to the following:
-
All properties of all other fields or elements on the current form.
-
Any values or functions within files imported through the
import
property. -
Any global values or functions otherwise made available to JavaScript running in the current browser window.
These expressions are evaluated client-side when the form first loads and then again each time one of their dependent properties changes. For more information, see Dynamic Forms.