Skip to main content

What are data events?

How data events can be used to run code that is triggered by specific actions.

Jacob Payne avatar
Written by Jacob Payne
Updated over 2 weeks ago

Data Events in Fulcrum

Data events let you automate actions in your app when certain events occur, such as record loading, editing, validating, saving, or value changes. Actions can include custom alerts, validation messages, setting field values, updating choices, labels, descriptions, and visibility, making HTTP requests, and more.

With Data Events, you can respond to record changes, update values programmatically, build dynamic hyperlinks, enforce quality logic, and extend your app using standard JavaScript.
​

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.

Data Event Setting for apps

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 option 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 function's 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

Did this answer your question?