JavaScript

afterDetailViewSubmit

Arguments

eobject

An object passed to the event that contains the following properties:

hasErrorsboolean

Indicates if an error occurred when trying to save the detail view.

Description

Fires after the user has submitted edits made to a record in the Detail View.

if (!e.hasErrors) {
    var title = "Record Saved";
    var msg = "The record has been saved."
    var buttons = "o";
    var onClose = function () {};
    
    A5.msgBox.show(title,msg,buttons,onClose);
}