JavaScript

canDetailViewNewRecord

Description

Fires when the user tries to enter a new record in the Detail View. If the event returns false, the action is cancelled.

To prevent the user from opening the Detail View to create a new record, the event can return false. For example:

return false;