If you have code in the data event field, located in the app settings section of the app designer, in your app then data events has been enabled for your app.
Unlike calculation fields, data events are not constantly being run in the background when a record is being filled out or edited. In order to get the code to run, the data event must be set up with an event trigger that will state when the function should be run. Also, multiple event triggers can be used to activate the same function. Allowing you to make sure that the data event is run at the correct time.