function fillpdf_export_form in FillPDF 7
Same name and namespace in other branches
- 6 fillpdf.admin.inc \fillpdf_export_form()
- 7.2 fillpdf.admin.inc \fillpdf_export_form()
Form for exporting FillPDF field mappings.
1 string reference to 'fillpdf_export_form'
- fillpdf_form_export in ./
fillpdf.admin.inc - Export an importable array of PDF field key -> Label, Value mappings.
File
- ./
fillpdf.admin.inc, line 681 - Allows mappings of PDFs to site content.
Code
function fillpdf_export_form($form, $form_state, $code) {
$form = array();
$form['export'] = array(
'#type' => 'textarea',
'#title' => t('FillPDF Form Mappings'),
'#default_value' => $code,
'#rows' => 30,
'#description' => t('Copy this code and then on the site you want to import to, go to the Edit page for the FillPDF form for which you want to import these mappings, and paste it in there.'),
'#attributes' => array(
'style' => 'width: 97%;',
),
);
return $form;
}