How to create an interactive PDF form for HR interviews in Delphi and Lazarus

2020-12-14

Someone might not know, but the PDF standard allows you to create fillable forms. That is, the finished document can be edited directly from the viewer. This is most often used for questionnaires and various forms. The user fills in the fields and sends the document by email or prints it.

Today we will look at how to create an interactive PDF form for evaluating HR interviews in Delphi and Lazarus.

The new version of FastReport VCL 6.9 has the ability to export reports to PDF format with support of interactive forms. In the export settings, InteractiveForms and InteractiveFormsFontSubset options were added. The second option, string-expression, allows you to build a font character set for an interactive form object with the font included in the file. Usage example: A-Z,a-z,0-9,#43-#47,!@#$

Export to PDF

Added support for three objects:

  1. Text object (TfrxMemoView), outputs both plain text and HTML code via EMF (formatting is lost when editing in PDF);
  2. CheckBox object (TfrxCheckBoxView) as vector and via EMF (using font);
  3. Picture object (TfrxPictureView). Not all viewers can load it, works in Adobe Acrobat Reader.

All these objects have a new property - Editable, which has a set of values that allows editing when viewing and/or exporting. 

Editable

For example, the designer created a report template for assessing HR interviews, which contains fillable fields, checkboxes, and the ability to upload your logo.

FastReport - HR Interview Evaluation

You can also change the values of these filled fields in the FastReport preview mode by holding Alt while clicking on this field. 

Preview

After exporting to PDF with the appropriate values set, you can easily edit these fields in viewers such as Adobe Acrobat Reader.

FastReport - HR Interview Evaluation

Thus, the function of editing the report in the preview mode can be used for forms and questionnaires, in our case for the HR interview assessment form. You can save the report in .fp3 format and distribute it. Users will fill in the report like PDF forms.

Or you immediately export the report to PDF and distribute the file as well.

VCL Lazarus FastReport PDF Interactivity Delphi VCL Lazarus FastReport PDF Interactivity Delphi
April 22, 2025

Working with XML and JSON Formats in FastScript

In this article, we will take a closer look at how to work with JSON and XML in FastReport, see what properties and methods they have, and build reports from code with scripts.
April 22, 2025

Working with the TfrShellTreeView Component in FastReport VCL

In this article, we will look at the TfrShellTreeView component. It is designed to display file system elements and is partially analogous to the TDirectoryListBox, TDirectoryOutline, and TShellTreeView components.
November 20, 2024

Localization and Language Switching in FastReport VCL

FastReport VCL supports 40 languages for interface localization and allows you to change the language on the fly through menus or code, without recompilation.
Fast Reports
  • 800-985-8986 (English, US)
  • +31 97 01025-8466 (English, EU)
  • +49 30 56837-3928 (German, DE)
  • +55 19 98147-8148 (Portuguese, BR)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2025 Fast Reports Inc.