Skip to main content

Filter: gravityview/edit_entry/cancel_onclick

Modify the JavaScript code that runs when the Cancel button is clicked.

Parameters

NameTypeDescription
$cancel_onclick_jsstringThe JavaScript to execute on Cancel button click.
$formarrayThe Gravity Forms form.
$entryarrayThe Gravity Forms entry.
$view_idintThe current View ID.
$update_countintThe number of pages to go back based on the # of updates to the edited form.

Since

Source

Defined in includes/extensions/edit-entry/partials/form-buttons.php at line 90