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

  • 2.13.4

Source

Defined in src/Extension/EditEntry/views/form-buttons.php at line 100