Filter: gravityview/edit_entry/cancel_onclick
Modify the JavaScript code that runs when the Cancel button is clicked.
Parameters
| Name | Type | Description |
|---|---|---|
| $cancel_onclick_js | string | The JavaScript to execute on Cancel button click. |
| $form | array | The Gravity Forms form. |
| $entry | array | The Gravity Forms entry. |
| $view_id | int | The current View ID. |
| $update_count | int | The 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