The onEdit Function in JavaScript Code

The onEdit function is called whenever a user edits a field. For more information about the structure of JavaScript code, see "JavaScript Structure Used in Swift MEAP."