Data Events allow users to perform specific actions when certain events are triggered. Actions can include things like custom alerts and validation messages, setting field values, choices, labels, descriptions, requirement & visibility settings, HTTP requests and more. Event triggers include: record loading, editing, validating, saving, value changing, and more.
This functionality enables listening for record changes, programmatically changing values, as well as building dynamic hyperlinks, writing custom quality assurance logic and much more!
You can build out simple extensions or construct highly sophisticated applications with these components using standard JavaScript. Data Events essentially provide a flexible set of tools to control exactly what happens when your team collects data in Fulcrum.
Data Event Builder
To access the data event builder click on the Data Events button in the right side of the app designer within the app settings section. Just above the save buttons.
After you click on the Data Events button, you are taken to data event builder.
Within the Data Event Builder there are three options worth mentioning.
Form Fields
From this option, you will be able to see a list of all the available fields for your app and select them to add them to the code. This will save you time, as you don't need to go to the app details to remember the name of the field you need to use for your function.
Note: Fields that are nested in any Repeatable Section will not be on the list.
Functions
This options allows you to click on an existing function to add it to the Data Event Builder by clicking on the function name. If you want to learn more about each of the functions from this list, simply click on the functions description and you will be redirected to the Developer's Guide page, for the specific function you clicked on.
Settings
Here you can customize the Data Event Builder so that it is easier for you to work with it. Among the options you can modify you will find the theme (light or dark), font size, code options (default or strict), and wrap text (on or off)
Notes
Consult the Data Events guides and Data Events Examples for more information.
As an advanced feature, Data Events are only available on select plans.
Feel free to reach out if you need any assistance.