You are here

function fillpdf_forms_admin_submit in FillPDF 7

Same name and namespace in other branches
  1. 7.2 fillpdf.admin.inc \fillpdf_forms_admin_submit()

Creates a new Form from the uploaded PDF, including parsed fields.

File

./fillpdf.admin.inc, line 245
Allows mappings of PDFs to site content.

Code

function fillpdf_forms_admin_submit($form, &$form_state) {
  $fid = _fillpdf_save_upload('upload_pdf');
  if (is_numeric($fid)) {
    $form_state['redirect'] = "admin/structure/fillpdf/{$fid}";
  }
}