function fillpdf_field_edit_submit in FillPDF 7.2
Same name and namespace in other branches
- 5 fillpdf.module \fillpdf_field_edit_submit()
- 6 fillpdf.admin.inc \fillpdf_field_edit_submit()
- 7 fillpdf.admin.inc \fillpdf_field_edit_submit()
Save changes to the database.
File
- ./
fillpdf.admin.inc, line 700 - Allows mappings of PDFs to site content
Code
function fillpdf_field_edit_submit($form, &$form_state) {
$edit_field = (object) $form_state['values'];
fillpdf_update_field($form['#pdf_form'], $edit_field, $form['#pdf_field']->pdf_key);
$form_state['redirect'] = 'admin/structure/fillpdf/' . $form['#pdf_form']->fid;
}