'#description'=>t('Choose the permissions the user should have for the encrypted PDF. If they enter the Owner Password, they will be able to unlock it. <strong>If you do not specify any permissions, then none of these operations will be allowed.</strong>'),
'AllFeatures'=>t('AllFeatures (Allows the user to perform all of the above, and top quality printing.)'),
),
'#default_value'=>$pdf_form->permissions,
);
$security_form['owner_password']=array(
'#type'=>'textfield',
'#title'=>t('Owner Password'),
'#description'=>t('Required for encryption. Enter the decryption password for the PDF. This password allows PDF security settings to be changed. If you configure encryption and permissions but leave this blank, then anyone will be able to change the security settings.'),
'#default_value'=>$pdf_form->owner_password,
);
$security_form['user_password']=array(
'#type'=>'textfield',
'#title'=>t('User Password'),
'#description'=>t("Optional. If you want to restrict the opening of this PDF to those with a password, enter one here."),
'#default_value'=>$pdf_form->user_password,
);
$form['submit']=array(
'#type'=>'submit',
'#value'=>t('Update'),
...
...
@@ -534,6 +584,10 @@ function fillpdf_form_edit_validate($form, &$form_state) {
form_set_error('destination_path',t('You have chosen to use <em>Private files</em> for storage. Your destination
path must be a subdirectory of the <em>fillpdf</em> directory and cannot be absolute.'));