Skip to main content

Filter: gform_incomplete_submission_pre_save

Allows the draft submission to be overridden before it is saved to the database.

Parameters

NameTypeDescription
$submission_jsonstringJSON encoded associative array containing this incomplete submission.
↳ $submitted_valuesarrayThe submitted values.
↳ $partial_entryarrayThe draft entry created from the submitted values.
↳ $field_valuesnull|arrayThe dynamic population field values.
↳ $page_numberintThe forms current page number.
↳ $filesarrayThe uploaded file properties.
↳ $gform_unique_idstringThe unique id for this submission.
$resume_tokenstringThe unique token which can be used to resume this incomplete submission at a later date/time.
$formarrayThe form which this incomplete submission was created for.

Since

Source

Defined in forms_model.php at line 4354