clear_session_form_values

5.x render.inc clear_session_form_values($callback)
4.x forms.inc clear_session_form_values($callback)

Clear the form submissions variable from the SESSION for this callback.

3 calls to clear_session_form_values()
admin_add_degree_form_submit in modules/admin/admin.degrees.inc
Submit handler for the add_degree_form.
admin_edit_group_form_submit in modules/admin/admin.groups.inc
fp_render_form in includes/render.inc
Render the form array from the callback to the screen, and set the form to save itself in our default submit handler. Valid form_types are: "system_settings" => values automatically saved to variables table. "normal" or BLANK…

File

includes/render.inc, line 373

Code

function clear_session_form_values($callback) {
  unset($_SESSION["fp_form_submissions"][$callback]);
}