1. One or more computer storage media having computer-readable instructions therein that, when executed by a computer, cause the computer to perform acts comprising: receiving a triggering event of an electronic data-entry form, wherein the triggering event comprises a data change trigger caused by a user modifying data in the electronic data-entry form or a click trigger caused by the user clicking on a button in the electronic data-entry form; responsive to the triggering event, determining whether a role of the user of the electronic data-entry form permits performing an action associated with the triggering event; and performing the action responsive to the determining that the role of the user permits performance of the action.