function fillpdf_export_form in FillPDF 6
Same name and namespace in other branches
- 7.2 fillpdf.admin.inc \fillpdf_export_form()
- 7 fillpdf.admin.inc \fillpdf_export_form()
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. The array key is the PDF field key and the value is another array containing the label and the value (properly keyed).
File
- ./
fillpdf.admin.inc, line 442 - Allows mappings of PDFs to site content
Code
function fillpdf_export_form($form_state, $code) {
$form = array();
$form['export'] = array(
'#type' => 'textarea',
'#title' => t('Fill PDF 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 Fill PDF form for which you want to import these mappings, and paste it in there.'),
'#attributes' => array(
'style' => 'width: 97%;',
),
);
return $form;
}