Forms Data Types
There are various data types you can select from when setting up your Form Fields. This page will guide you through the different options available to use.
Not specifying a data format type will default to a text input, date field, or non-editable text based on your source column.
This section breaks down the various data format types available to you when creating a Form.
Using the CQL data type allows you to use Cinchy Query Language expressions in your Form value.
You can review the basics of CQL here.
Selecting JSON as your data type means that the Form will expect the value of this cell to be in JSON format.
Selecting XML as your data type will allow the form to render inputed XML text in your form.
Using the ImageUrl data format type allows you to embed images into your Form.
There are four different ImageUrl data types:
- ImageUrl (small)
- ImageUrl (medium)
- ImageUrl (large)
The below image shows what an example ImageUrl Form Field may look like:
To enable an ImageUrl data format type on your form:
- The table column you are referencing should have a valid image URL as its value OR The values of the table column you are referencing should be valid image URLs
- You must set up this column as a Form Field with the Data Type ImageUrl/ImageUrl (small)/ImageUrl (medium)/ImageUrl (large).
- The image will render under its associate Form Section in you Form
Enable dynamic content in your Forms with iFrames — a new Data Format Type used to render content within the display of a record. Instead of taking the value of your table column and outputting it in a form field (text input, date field, non-editable text), we’re outputting an iFrame and setting its source attribute to be the value you have in your column
An inline frame (iframe) is a HTML element that loads another HTML page within the document. It essentially puts another webpage within the parent page. They are commonly used for advertisements, embedded videos, web analytics and interactive content.
The below example shows an interactive AI chat box embedded into the Form.
To enable iFrames in your form:
- 1.The table column you are referencing should have a valid URL as its value OR The values of the table column you are referencing should be valid URLs
- 2.You must set up this column as a Form Field with the Data Type iFrame/iFrame Sandboxed/iFrame Sandboxed Strict.
- 3.The iFrame will render under its associate Form Section in you Form
There are three different iFrame data types, each with a unique level of allowable content.
- iFrame: Allows all content
- iFrame Sandboxed: Allows forms, scripts, modals, pop-ups, and same origin.
- iFrame Sandboxed Strict: Allows forms, scripts, modals, and popups.