Prevent changes after signing

Lock down fields so they cannot be changed once a signature has been added to a record.

This example shows how to set all of your form fields to read-only once a signature has been added to the record.

ON('edit-record', function (event) {
  if ($signature) {
    DATANAMES().forEach(function(dataName) {
      SETREADONLY(dataName, true);
    });
  }
});