Data Event Examples

Data event expression examples.

Determine the elevation of the location you are collecting data.
Use this to fetch weather data from the wunderground.com API and add it to the record.
Use this to alert the user if a photo does not contain latitude or longitude metadata.
These expressions check the orientation of photos and videos when they're added.
Grabs the last value entered in a field and populates it into another field in the next new child record.
A simple stopwatch-like timer that allows you to start, pause, and reset.
Demonstrates how to capture the coordinates of line and polygon features.
Use this to change a record's status when a user changes a specific field or when the record is saved.
Demonstrates how to add quality control checks on photos by checking to see if they were taken in the same geographic area as the record.
Demonstrates how to add quality control checks on photos by checking to see when they were taken.
Demonstrates dynamic logic to determine how default values are persisted across records.
Transform latitude and longitude coordinates into another CRS via Proj4js.
Demonstrates how to POST data to the CARTO SQL API.
Relax field requirements for users by email or role
Use this example to display the current GPS info on your form.
Demonstrates how to dynamically translate labels and choice list options to support multiple languages.
Use this example to control which status field options are available based on the user role.
How to query an Esri ArcGIS Server or ArcGIS Online REST Service using Data Events in Fulcrum.
Populate a choice list from GeoJSON and set other values from the selected feature properties.
Demonstrates how to send a WFS query to GeoServer and use the results in a choice list.
Use the what3words API to populate a record with the 3 word representation of its location or update its location from a known 3 word address.
Use this example to conditionally display fields for certain user roles.
Demonstrates how to open Google Maps or Street View at your record location on both mobile and web.
Use this to create a button on your form to make a phone call to a phone number entered in a text field.
Use this to alert the user if a field in a repeatable section does not have a value.
Use Twilio or numverify API's to validate phone numbers.
Locate which neighborhood you are working in via point-in-polygon.
Lock down fields so they cannot be changed once a signature has been added to a record.
Demonstrates how to automatically send push notifications when a record is saved.
Demonstrates how to send a spatial query to a Socrata instance and use the data returned in your form.
Use this example to conditionally disable fields for certain user roles.
Demonstrates how to compare a date field with today's date to script custom requirement logic.
Use this custom validation logic to ensure every photo has a caption before saving.
Use this custom validation logic to ensure every record has a project selected before saving.
Use this to create a button on your form to send an SMS message.
Use this example to add a tally counter button to increment a numeric field.
Use this to prevent a user from editing a record that was created at some defined time in the past.
Demonstrates how to intelligently update locations for imported records.
Use this to ensure a record's location is within a geographic area before saving.
Use this to validate text against a regex pattern based on user role.