To add a Data Hook, click the Data Hooks tab and follow our Data Hooks guide.
The Data Hook below shows one way to require either an email or a phone number in your data. The Data Hook warns when neither is present, and requires a user to resolve the error in the data.
Since all Data Hooks must be attached to a data template, feel free to use the sample data template (and sample data) below to test out the Data Hook above.
Feel free to use our Email or Phone sample data to see the Data Hook in action.