Fields – QR Code

This field is used to generate and display a QR Code. A QR Code requires a data source to specify a value for the QR Code which can be in the form of a static value, Target, or XML.

This is how a QR code will display within the form:

A screenshot of a QR code as displayed in trellispark.

Here is an example of the Field Definition:

A screenshot of the creation process for a QR code in trellispark.

Below are the fields and their purpose:

  • Encoding Type – A dropdown list containing various encoding types that relate to the value of the QR Code. This field is optional and can be left blank, in which case the value of the QR Code will be treated as plain text.
  • Colour – Determines the colour of the QR Code. Any valid CSS, HEX, or RGB value is accepted.
  • Background Colour – Determines the background colour of the QR Code. Any valid CSS, HEX, or RGB value is accepted.
  • Border Colour – Determines the border colour of the QR Code. Any valid CSS, HEX, or RGB value is accepted.
  • Border Size – Determines the size of the border in pixels(px).
  • Size – Determines the size of the QR Code in pixels(px).
  • Value Type – Determines the data source for the QR Code.
  • Static Value – Only available when the Value Type is Static. Allows you to input a static value for the QR Code.
  • Target – Only available when the Value Type is Target. Allows you to input a target to call that will return a value for the QR Code.
  • XML Element – Only available when the Value Type is XML Element. Allows you to specify another field on the concept and pull its value for the QR Code. Make sure the XML Element you select actually has a value otherwise the QR Code will not load.
Updated on November 13, 2023

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment