Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To create the app from scratch, please continue following the steps below.

Create a Form

1. Create a new form and drag and drop the File Upload element.

...

Set the

...

field to be Readonly. Drag a text field and this will be the value for the generated QR

...

code.

Image RemovedImage Added

Figure 3: Form Builder

...

Configure Post Form Submission Processing

To 1. To start using the QR Code Generator Tool, in the Form Builder > Settings > Advanced, under the Post Form Submission Processing:

Set

...

its Post Processing Tool to

...

Multi Tools. Set Run Tool on Both data creation and update.

Image RemovedImage Added

Figure 4: Post Form Submission Processing PropertiesProcessing - Multi Tools


2. Set the tools for QR Code Generator Tool and Email.

Image Added

Figure 5: Post Form Processing - Refer to  QR Code Generator Tool Properties on how to configure the properties. After filling in the values, please click on save.

Configure Process

In the Process Builder, configure mapping of Start to the previous form and map the tool to the Email Tool and Configure Email.

More on how to configure email on Email Tool.

Image Removed

Tool and Email Tool


3. Fill in the plugin configurations based on QR Code Generator Tool Properties. The value of the generated QR code will be the text field created earlier.

Image Added

Figure 6: Post Form Processing - QR Code Generator Tool


4. Fill in the plugin configurations based on Email Tool. In the message for Email Tool, fill in the image source as the field for the generated QR Code.

Image Added

Figure 7: Email Content for QR Code fieldFigure 5: Process Builder

ToolMessage Value
Email Tool<img src="cid:#form.qcgda_qrcode.qr_field_to_be_uploaded?url#" />


5. Remember to fill in the attachment section for the Email Tool, to embed the picture into the email.

Image Added

Figure 8: Email Attachment for QR Code field

How to use the plugin

1. Fill in the form. The QR Code File Upload field can be left blank as the process tool will generate the QR Code automatically to store in the File Upload field.

Image RemovedImage Added

Figure 69: Joget App with QR Code Generator Tool Configured

...

2. An Email containing the QR code will be sent.

Figure 7: 9 Email Receiving the QR Code


3. Click on edit.

Image RemovedImage Added

Figure 810: QR Code Form List


4. You can see that the QR Code that has been generated is stored in this field. You can also manually download the QR Code to check.

Image RemovedImage Added

Figure 911: Download QR Code

QR Code Generator Tool Properties

1. Configure QR Code Generator Tool to the previous form and fill in the Field with the File Upload element's Field ID.

Figure 1012: QR Code Generator Tool Properties

NameDescription
FormForm for the QR Code Generator Tool.
FieldField ID for the QR Code to be uploaded on.


2. In the QR Code Properties, select the Format and fill in the value.

Figure 1113: QR Code Properties

NameDescription
Format

Options for Format.

  • URL
  • Text

URL

Info

Only shown when URL is selected for Format.

Value
Info

Only shown when Text is selected for Format.

HeightHeight of QR code.
WidthWidth of QR code.

...