Use Case: Exporting Form Output as PDF

In an educational application, when a user fills out a registration form, they may want to obtain a PDF output of the form. This can be done via a button that is triggered after the form is completed.

Adding a PDF Creation Action After User Registration

In the Properties panel, enter a phrase such as “Download PDF” in the Label section of the button.

  • Select the relevant button and add the OnClick → Device → Component To PDF action from the + ADD ACTION menu.

Configuring the Component To PDF Action

  • Component To Save As PDF: formContainer (ID of the element to be output as PDF, e.g., form field)
  • Quality: high (high quality is preferred)
  • File Name: kayıtformu.pdf (The name of the PDF file to be created)
  • Orientation: portrait (The PDF output will be created vertically)

With this configuration, the user can get a PDF output of the form with just one click after filling out the form. When the action is executed, the selected element is converted to PDF format and presented to the user.