Form to PDF

توضیحات

This plugin is designed to quickly and easily create forms in WordPress from which a PDF document can be generated once completed. The completed data can be downloaded in Excel format. For PDF generation, the plugin uses the mPDF package. For Excel generation, the plugin uses the PhpSpreadsheet package.

WARNING! This is not a WYSIWYG plugin! For adjusting the forms, at least HTML knowledge and HTML editing is required! The changed setting files are to be placed in the server.

GDPR – Data Protection

It’s the administrator’s responsibility to insure the right to use the data from the form, even through the form itself.

Main functions

  • Form generation
    You can easily create custom forms with built-in types and templates.

  • Email notifications (optional)
    You can receive an e-mail notification about the completed forms, which may also contain the form data, depending on the settings.

  • Generate a PDF document (optional)
    Using the data provided in the form, you can generate a PDF document that can be saved to the server and / or displayed in the user’s browser.

  • Support save to Custom Post Type or other
    The plugin allows you to override the way data is saved. If save form data is turned on, it saves the data to its own database by default. However, the save procedure can be overwritten.
    More details and example

  • Excel support
    You can download the answers provided in the form in Excel format.

  • Include CAPTCHA
    You can choose between the built-in robot filter and Google reCAPTCHA v2. (In the latter case, you will need an API key.)

Usage in 4 simple steps

  • Defining the form
  • Defining the content of the notifier email
  • Defining the PDF document
  • Attach to the content

Defining the form

The form itself is stored by a simple HTML file in the folder specified through the settings, where the ‹form_name›.html file is to be the displayed form. (It can include every HTML forming and javascript codes.) The input fields can be defined in the data types page as shown and can be formed in the data parameters page.

Defining the content of the notifier email

The plugin sends a notification to every administrator of the site of the filled out form, if the plugin is set that way. (This is the default.) This email’s content can be individually set and can include the data shown on the form. This definition file must be created under the name ‹form_name›.email.html.

Defining the PDF document

The plugin uses an HTML sample to convert the given data in the form into a PDF and displays it to the user filling the form out in a browser window. (Optional, this is the default.) The PDF document’s content can be varying from here. This PDF definition file, with the HTML format must be created under the name ‹form_name›.pdf.html.

Attach to the content

Attach the reference of the form into the content to the correct location with the help of the code below:
[form-to-pdf form=”‹form_name›”]

You can choose three types of built-in code for the display during the generation of the form: HTML5, Bootstrap 3, Bootstrap 4. Besides this, you can create your own display style to the form-to-pdf/templates folder in the site theme’s folder, where the plugin searches in different folders. (You can create multiple samples.)

You can choose between the samples in the global options, or during the attachment to the form content. In the latter case, attach the form this way: [form-to-pdf form=”‹form_name›” template=”‹template_folder_name›”]

The robot is the filter part of the plugin and automatically gets to the end of the form.

You can find a working sample in the Plugin test page.

Facebook

Facebook support group

Detailed description and examples

Plugin support page

عکس‌های صفحه

  • Generated form
  • Email notofication
  • Generated PDF
  • Use it like this!
  • Options
  • Filled list

نصب

  1. Update your WordPress page
  2. Upload the plugin files to the /wp-content/plugins/form-to-pdf directory, or install the plugin through the WordPress plugins screen directly.
  3. Activate the plugin through the ‘Plugins’ screen in WordPress
  4. If necessary, change the settings in the Settings -> Form to PDF screen “Settings” tab
  5. You’re done, the plugin is working in the background.

بررسی‌ها

بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“Form to PDF” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“Form to PDF” به 1 زبان ترجمه شده است. Thank you to the translators for their contributions.

ترجمه “Form to PDF” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تغییرات

2.44

  • Add guest to access list

2.43

  • Modify call Google reCaptcha

2.42

  • It is possible to enter the value from a shortcode

2.41

  • Adding form_to_pdf_modify_to and form_to_pdf_modify_bcc hooks

2.40

  • Adding Google reCAPTCHA v2

2.32

  • Small bug fix

2.31

  • Add WORDPRESS-USER-ID variable

2.30

  • Add access selector (everyone, registered or administrator)
  • Possibility to save data yourself

2.20

  • Add Switch type input

2.10

  • Save PDF to server in /wp-content/uploads/form-to-pdf folder (optional)

2.01

  • Change notification email recipients

2.0

  • Notification to multiple recipients.
  • Save filled data
  • Filled data downloaded Excel format

1.02

  • WordPress 5.4 compatibility check
  • Some minor changes

1.01

  • Modifications for publication
  • Using anonymous Awesome library (CDN: https://www.bootstrapcdn.com/fontawesome/)
  • Update mPDF library (8.0.5)
  • Many publications require minor modifications
  • Settings help pages have been removed from the Settings page. These can be found on the [plugin page].(http://wpdemo.dovi42.hu/form-to-pdf-en/)

1.00

  • First published version