You are here

function fillpdf_field_edit_submit in FillPDF 7

Same name and namespace in other branches
  1. 5 fillpdf.module \fillpdf_field_edit_submit()
  2. 6 fillpdf.admin.inc \fillpdf_field_edit_submit()
  3. 7.2 fillpdf.admin.inc \fillpdf_field_edit_submit()

Save changes to the database.

File

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

Code

function fillpdf_field_edit_submit($form, &$form_state) {
  fillpdf_fields_create_update($form['#pdf_form']->fid, $form['#pdf_field']->pdf_key, $form_state['values'], (bool) $form['#pdf_field']);
  $form_state['redirect'] = 'admin/structure/fillpdf/' . $form['#pdf_form']->fid;
}