Control elements

Smartform control elements are located on the right-hand side of the design screen. You can either click on them to insert them in to the current position of your design, or you can use the drag-and-drop functionality.


Overview of Control Elements

This is a list of smartform elements you can use when designing a smartform.

#Smartform Control ElementExplained
1AttachmentAttach a file to the Smartform
2Back ButtonButton that navigates to the previous step or view in the Smartform
3BitmapBitmap that can be resized and aligned
4CheckboxA standard checkbox including a label
5Clear ButtonButton that clears the Smartform if it is pushed
6Data TableA table element used to display or manage structured data inside the Smartform
7Date PickerA date picker control that allows you to pick year, month, and day of month
8DividerHorizontal divider that can be defined by color and thickness
9DropdownDropdown with selectable items
10Dynamic ButtonButton that triggers a dynamic action based on defined conditions
11File UploadOption to upload a file as part of the Smartform
12HeadlineHeadline elements possible to show as table of content. Can be H1, H2 or H3
13HTMLEmbed custom HTML for flexible layout
14HyperlinkDefine a hyperlink by text and actual link
15Input AreaInput area can define number of input lines
16Input LineThe input line can be placed to the left or on top of the input field
17MapDisplay and interact with geographic locations
18MatrixDisplays data in a customizable table format
19Order TableSpecial constructed element for creating an order table
20QR CodeGenerate and display a QR code based on a provided value or URL
21Radio ButtonRadio buttons grouped together within a row
22Radio ListVertical list of radio options
23ResourceInternal resource used to store values or datasets
24Rich TextA simplified rich text editor that allows enhanced formatting
25SignatureField where a person can sign using a mouse or pointing device
26Smart TableSmart table filled with data by the user
27SpacerAllocate empty space in the form
28Static TableRead-only table for displaying structured data
29Submit ButtonButton that submits the Smartform
30SwitchToggle button to turn a value on or off
31TextFixed text to show in a Smartform
32Time PickerA time picker control that allows you to pick time
33VideoVideo from Vimeo, YouTube or file location

Attachment

This option allows you to attach a file to the smartform. This could typically be a pdf document about general terms and condition

ItemExplaining
PropertyProperty identifier for element
FilenameThe name you would like to display in the smartform
DescriptionA description of the file that will show below the file name
Helper textA helptext will show when you do a mouseover
ValueThe actual file / attachment

Back Button

A button that sends the user back to the previous browser step or page in the Smartform.

ItemExplaining
PropertyProperty identifier for the Back Button
NameText shown on the button
MessageOptional message shown when the button is pressed
Helper textThis is the help text associated with the field when doing a mouseover
Background colorBackground color of the button
WidthWidth of the button
Rounded cornersApply rounded corners to the button
Border colorColor of the button border
BorderSelect which sides have borders and the thickness
Text SizeSize of the button text
Text styling optionsBold / Italic / Underline
ColorText color

Bitmap

This feature will add a bitmap that will embedded into the smartform. It is therefor important not to include large bitmaps, they will slow the loading process down.

ItemExplaining
PropertyProperty identifier for the bitmap element
ValueUpload or delete the bitmap you would like to. A small tip is to use transparent bitmaps. They will work best with your background colors
SizeSize of the bitmap. Default value is 120. Try to figure out the value that match the size you would like
Rounded cornersBitmap will get rounded corners
Border colorDefine a border color if you would like to have a border around the bitmap
Border Decidewhich parts of the bitmap should have a border or not and their thickness size
AlignmentDefine if you would like to align the bitmap to the left, in center or to the right in the cell where you placed it

Checkbox

A checkbox is an element where the user can make decission in a form. A checkbox is either true or false (not checked)

ItemExplaining
PropertyThis is the fieldname that identifies the field
LabelLabel to show above or in front of the input line
DescriptionSpecifying the subtext under the checkbox label text
Helper textThis is the help text associated with the field when doing a mouseover
Read OnlyNot possible to enter values into the field
Prevent data insertPrevent data to be inserted through an external API
BackgroundBackground color for the input field. Default is white
Hide descriptionHide the description field and only show the label
Default stateDecide if default state of the check box should be checked or not
Connected elementsElements that will be available if checkbox is checked
ColorText color. Default is black
Label ColorText color for label
Label sizeText size for label
Bold, Italic, UnderlineDefine the style for label and descriptions

Clear

This button will clear all fields in a smartform

ItemExplaining
PropertyProperty identifier for button
NameText to show on button
MessageA message to show after button ha been pressed. Like “Data is now cleaer and you can close this window”
Helper textA helptext will show when you do a mouseover
Background colorButton background color. Default is black
widthButton width
Rounded cornersGive button rounded corners
Border colorColor of border around the button
Border Sizeof the border
Text colorColor of button text
Text sizeSize of text showing on button
AlignmentAligning the button in the cell where it has been placed. Can be aligned to the left, center or to the right

Data Table

A data table element that allows you to display and manage structured data inside the smartform.

ItemExplaining
PropertyIdentifier for the Data Table element
Data Source / JSON DataSelect data source (e.g. Static JSON) and enter/paste JSON content
BordersBorder style, color and thickness for the table and title
Data Source / JSON DataThis is the help text associated with the field when doing a mouseover
Font / PaddingText size, font family and cell padding
Title StyleTitle font size and weight
Label ColumnBackground, text color, width and font weight for label column
Values AlignmentAlignment of value cells (left/center/right)
Row BackgroundsBackground colors for header rows and bold rows
PDF SettingsDefines how the table appears in exported PDF
How to use Data Table

Overview

The Data Table element displays structured key-value data in a table format. It’s designed for documents like insurance certificates, financial summaries, and account overviews where data arrives from external systems (XML/JSON via API or webhook) and needs to be presented as styled tables.

Data Sources Static JSON — Enter JSON directly in the properties panel editor. Good for prototyping and fixed content.

Variable — Bind to a variable name populated at runtime via API/webhook. The element reads data from dataTableValues using the element’s property key or explicit variable name. This is the primary production use case.

Both can coexist: static JSON is the fallback, runtime variable data overrides when present.

JSON Schema

{
  "title": "Optional Table Title",
  "style": {
    "borderStyle": "full",
    "borderColor": "#e5e7eb",
    "fontSize": "14px",
    "fontFamily": "Arial, sans-serif",
    "cellPadding": "4px 10px",
    "titleFontSize": "1.4em",
    "titleFontWeight": "700",
    "titleBorderWidth": "3px",
    "labelBackground": "#f5f5f0",
    "labelColor": "#333",
    "labelWidth": "25%",
    "labelFontWeight": "normal",
    "valueAlignment": "left",
    "headerBackground": "#f0f0eb",
    "boldBackground": null
  },
  "rows": [
    {
      "label": "Row Label",
      "values": ["Value 1", "Value 2"],
      "bold": false,
      "header": false
    }
  ]
}

Automatic Layout Behaviors

RowSpan — When consecutive rows omit the label property, they are grouped under the previous labeled row. The label cell automatically spans all grouped rows.

ColSpan — The maximum number of value columns is determined across all rows. If a row has fewer values than the max, the last value cell spans the remaining columns.

Line breaks — Use \n in string values for line breaks.

Bullet lists — Use an array of strings as a value to render a bulleted list:

{
  "title": "Includes Example",
  "rows": [
    {
      "label": "Included Items",
      "values": [
        [
          "Item 1",
          "Item 2",
          "Item 3"
        ]
      ]
    },
    {
      "label": "Regular Value",
      "values": ["Normal row without list"]
    }
  ]
}

Example: Insurance Certificate

{
  "title": "Insurance Certificate",
  "style": {
    "borderStyle": "rows",
    "labelBackground": "#f5f5f0",
    "labelWidth": "30%",
    "titleFontSize": "1.4em",
    "titleBorderWidth": "3px"
  },
  "rows": [
    { "label": "Policyholder:", "values": ["John Doe"] },
    { "label": "Policy Number:", "values": ["1234567"] },
    { "label": "Coverage:", "values": ["Covers", "Deductible"], "header": true },
    { "label": "Liability", "values": ["Liability Coverage", "None"] },
    { "values": ["Legal assistance up to $100,000", "$4,000"] },
    { "label": "Total:", "values": ["$15,000"], "bold": true }
  ]
}

Example: Account Overview

{
  "title": "Account Overview",
  "style": {
    "borderStyle": "full",
    "labelWidth": "40%",
    "valueAlignment": "right"
  },
  "rows": [
    { "label": "Account Name", "values": ["Savings Account"], "header": true },
    { "label": "Account Number:", "values": ["1234.56.78901"] },
    { "label": "Balance:", "values": ["$150,000.00"], "bold": true }
  ]
}

Visual Example

The screenshot below shows how the JSON example renders inside the Smartform editor:

Studio Elements Data Table

Date Picker

A datepicker will pick the date based on user keyboard input or selection from a calender.

ItemExplaining
PropertyThis is the fieldname that identifies the field
LabelLabel to show above or in front of the input line
PlaceholderThis is a display value only that will show until a user has started to fill in text
Helper textThis is the help text associated with the field when doing a mouseover
Required fieldAn error message will show if the field is not filled in
Read OnlyNot possible to enter values into the field
Prevent data insertPrevent data to be inserted through an external API
BackgroundBackground color for the input field. Default is white
Label topIf not clicked the label will show infront. Otherwise above the input field
LinesDefault number of lines that the text area shall contain
Rounded cornersInput box get rounded corners if checked
Bordercolor Color of borders for the input field. Default is black
BorderSelect which sides of the text that should include borders and their thickness
ColorText color. Default is black
Label ColorText color for label
Label sizeText size for label

Divider

A divider is a line that can split the page for you. It can often make it easier to read for the user if different areas are splitted with a divider

ItemExplaining
HeightHeight of the divider
widthYou can limit the length of the divider. Default is 0 which means it will cover the full page
ColorColor of the divider

A dropdown element is very efficient regarding space on the screen. You can define display values, variable names for items you would like to have in the dropdown.

ItemExplaining
PropertyThis is the fieldname that identifies the field
LabelLabel to show above or in front of the input line
PlaceholderThis is a display value only that will show until a user has started to fill in text
Helper textThis is the help text associated with the field when doing a mouseover
ItemsHere you can define the items in the dropdown include their values. You can choose to have the dropdown sorted alphabetically or you can sort it your self
Required FieldAn error message will show if the field is not filled in
Read OnlyNot possible to enter values into the field
Prevent data insertPrevent data to be inserted through an external API
BackgroundBackground color for the input field. Default is white
Label topIf not clicked the label will show infront. Otherwise above the input field
Hide labelLabel is hidden when checked
Rounded cornersInput box get rounded corners if checked
Border colorColor of borders for the input field. Default is black
BorderSelect which sides of the text that should include borders and their thickness
ColorText color. Default is black
DependenciesBy adding a checkbox to the smartform, you can set that this checkbox has to be checked in order to see the input field
API retrieveAPI defined in the API template on general level that will get the input field value upon change and then be able toretrun or update other fields in the smartform by useing their properties and setting their values
Label ColorText color for label
Label sizeText size for label
Label widthWidth for label. most relevant if label on top is not checked
Label Bold, Italic, UnderlineDefining text style for the label
Input colorSmall text to be placed at the end of the inputfield. Could for instance be “persons”
Input SizeSmall text to show first in an input field. For instance ‘Number 1-10’
Input widthThe width of the dropdown box
Input AlignmentAligning the text in the dropdown box
Input Bold, Italic, UnderlineDefining text style for the label

Dynamic Button

A button that performs a dynamic action depending on the chosen button type and configuration.

ItemExplaining
PropertyProperty identifier for the Dynamic Button
Button TypeDefines the type of dynamic action (e.g. Submit Button)
NameText shown on the button
MessageHelp text shown on mouseover
Background colorBackground color of the button
Width / Rounded cornersButton width and corner style
Border color / BorderBorder color and which sides have borders
Text Size / StyleSize and styling (bold, italic, underline)
ColorText color

File upload

This is a very useful feature when you would like user to be able to attach files to a smartform.

ItemExplaining
PropertyProperty identifier for the file upload element
TextText to show in the file upload window
Helper textHelp that will show when the user makes a mouse over
Max size in mbMaximum total size for files to be uploaded
ColorText color
SizeText size
DescriptionDescription text that will show in the upload window
Required fieldThis field is required in order to submit the smartform
Read onlyThe user will not be able to change data
Prevent data insertWill not allow API to insert data
Rounded cornersMake the corners rounded
Border colorBorder color around the file upload element

Headline

A headline is not much different from a normal text. Sizes, Bold, italic, colors etc. are the same. But you can tell that a text is H1, H2 or H3 which has an effect if you choose that the smartform shall include a table of content. To turn the table of content on you need to go to the the Theme menu for the Smartform and select Type is Standard w/table

ItemExplaining
PropertyThis is the fieldname that identifies the field
ValueThis is the value of the field
Helper textThis is the help text associated with the field when doing a mouseover
ColorText color. Default is black
SizeText size
AlignmentAligning the text to the right, middle or left
BoldMake the text bold
ItalicMake the text Italic
UnderlineMake the text underline
Header typeTell if the Header is H1, H2 or H3. This will affect their default properties and how they will be displayed in a table of content

HTML

The HTML element lets you insert custom HTML code directly into the Smartform. This allows full control of layout, formatting, styling or embedding external content.

ItemExplaining
TypeShows that this element is of type HTML
PropertyProperty identifier for the HTML element
ValueArea where you write or paste the HTML code to display in the Smartform
Helper textHelp text that will show when doing a mouseover
PDF SettingsOptions for how the HTML content should appear in PDF export
How to use HTML

Overview

The HTML element is used to add custom content that requires more flexibility than standard Smartform elements.
Typical use cases include:

  • Custom text layouts
  • Branded information boxes
  • Columns or structured content
  • Highlight sections
  • Simple decorative elements

How to add HTML

  1. Drag the HTML element into the Smartform
  2. Open the Value field
  3. Paste or write your HTML code
  4. Save the form and preview the result

Example

This simple HTML block creates a styled info box:

<div style="padding: 18px; border-radius: 14px; background: #ffffff; border: 1px solid #e6e6e6; width: 360px; font-family: Arial, sans-serif;">
 
  <!-- Circle icon/figure -->
  <div style="
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: linear-gradient(135deg, #6bb9f0, #4da8da);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
      box-shadow: 0 3px 8px rgba(0,0,0,0.12);">
    <div style="
        width: 22px;
        height: 22px;
        border-radius: 6px;
        background: white;">
    </div>
  </div>
 
  <!-- Title -->
  <div style="font-size: 18px; font-weight: bold; color: #333; margin-bottom: 6px;">
    Status Overview
  </div>
 
  <!-- Description -->
  <div style="font-size: 13px; color: #666; margin-bottom: 14px;">
    A visual summary block that can be used to highlight information inside your Smartform.
  </div>
 
  <!-- 3-column stats -->
  <div style="display: flex; gap: 10px;">
 
    <div style="flex: 1; background: #f7faff; padding: 10px; border-radius: 10px; text-align: center;">
      <div style="font-size: 16px; font-weight: bold; color: #4a90e2;">24</div>
      <div style="font-size: 11px; color: #777;">Items</div>
    </div>
 
    <div style="flex: 1; background: #f9f9f9; padding: 10px; border-radius: 10px; text-align: center;">
      <div style="font-size: 16px; font-weight: bold; color: #555;">7</div>
      <div style="font-size: 11px; color: #777;">Pending</div>
    </div>
 
    <div style="flex: 1; background: #f7faff; padding: 10px; border-radius: 10px; text-align:center;">
      <div style="font-size: 16px; font-weight: bold; color: #4a90e2;">3</div>
      <div style="font-size: 11px; color: #777;">Alerts</div>
    </div>
 
  </div>
</div>

Visual Example

The screenshot below shows how the HTML example renders inside the Smartform editor:

Studio Elements HTML

This control gives the designer the possibility to navigate to other references etc. that can be defined through an URL. It is possible to have a hyperlink as pure text or as a button.

ItemExplaining
PropertyThis is the fieldname that identifies the field
TextText that will show in the form for the link. Example: “Click here to open link”
Helper textThis is the help text associated with the field when doing a mouseover
URLThe URL to open by clicking the link. Example: www.google.com
Show hyperlink as buttonThis will show the hyperlink as a button and also open up button properties
BorderSelect which sides of the text that should include borders and their thickness
ColorText color. Default is black
SizeText size
AlignmentAligning the text to the right, middle or left
BoldMake the text bold
ItalicMake the text Italic
UnderlineMake the text underline
Button Background colorPossible to select Button color if the option to show the link as button is ticked off
widthThe width of the button. 140 would be a good size
Rounded cornerButton will get rounded corners
Border colorDefine colors for a border around the button
BorderDefine border size around the button

Input area

An input area opens an input space where the same formatting for all input is used. You can define number of rows as default. Otherwise a text area will expand as the user starts filling in more and more information.

ItemExplaining
PropertyThis is the fieldname that identifies the field
LabelLabel to show above or in front of the input line
PlaceholderThis is a display value only that will show until a user has started to fill in text. A typical value could be
Initial valueThis is a initial value when the smartform is created. Could be used when for instance the value is most likely to be a certain value.
Helper textThis is the help text associated with the field when doing a mouseover
Required fieldAn error message will show if the field is not filled in.
Read OnlyNot possible to enter values into the field.
Prevent data insertPrevent data to be inserted through an external API.
BackgroundBackground color for the input field. Default is white.
Label topIf not clicked the label will show in front. Otherwise above the input field
LinesDefault number of lines that the text area shall contain.
Hide labelLabel is hidden when checked
Rounded cornersInput box get rounded corners if checked
Border colorColor of borders for the input field. Default is black
BorderSelect which sides of the text that should include borders and their thickness.
ColorText color. Default is black
DependenciesBy adding a checkbox to the smartform, you can set that this checkbox has to be checked in order to see the input field
API retrieveAPI defined in the API template on general level that will get the input field value upon change and then be able toretrun or update other fields in the smartform by useing their properties and setting their values.
Label colorText color for label
Label sizeText size for label
Label alignmentLeft, Center or right alignment of the label
Label Bold, Italic, UnderlineDefining text style for the label

Input line

A input line is a control for allowing user for input as text. The input line has however several options for controls and lookups.

ItemExplaining
PropertyThis is the fieldname that identifies the field
LabelLabel to show above or in front of the input line
PlaceholderThis is a display value only that will show until a user has started to fill in text. A typical value could be
Initial valueThis is a initial value when the smartform is created. Could be used when for instance the value is most likely to be a certain value
Helper textThis is the help text associated with the field when doing a mouseover
Validate dataThere are certain built in qualifiers of a field that will evaluate that the value is filled in according to the validation rule
Custom validation error messageA custom defined message if the value entered is not according to the validation rule
Required fieldAn error message will show if the field is not filled in
Read OnlyNot possible to enter values into the field
Prevent data insertPrevent data to be inserted through an external API
BackgroundBackground color for the input field. Default is white
Label topIf not clicked the label will show in front. Otherwise above the input field
Hide labelLabel is hidden when checked
Rounded cornersInput box get rounded corners if checked
Border colorColor of borders for the input field. Default is black
BorderSelect which sides of the text that should include borders and their thickness
ColorText color. Default is black
DependenciesBy adding a checkbox to the smartform, you can set that this checkbox has to be checked in order to see the input field
API retrieveAPI defined in the API template on general level that will get the input field value upon change and then be able to return or update other fields in the smartform by using their properties and setting their values
Workflow RetrieveA change in this value will cause the selected workflow to be triggered that again would be able to make API lookups and put new values back into the smartform
Label ColorText color for label
Label sizeText size for label
Label widthWidth for label. most relevant if label on top is not checked
Label alignmentLeft, Center or right alignment of the label
Label Bold, Italic, UnderlineDefining text style for the label
SuffixSmall text to be placed at the end of the input field. Could for instance be “persons”
PrefixSmall text to show first in an input field. For instance ‘Number 1-10’

Map

This feature adds a map with a dropdown for choosing locations. The locations can be filled from API.

ItemExplaining
PropertyProperty identifier for the element
LabelChoose a label for the form
Api RetrieveRetrieve map locations (coordinates) from API
Hide dropdownHide the dropdown
ColorText color
WidthText size
BoldMake the text bold
ItalicMake the text Italic
UnderlineMake the text underline
How to use Map

Purpose
The Map element is used when you want to show locations retrieved from an API.
To display locations inside the map, you must first set up a workflow that calls an API and then updates the Smartform with the data.


Step 1: Create a Workflow

  1. Go to Workflow in Smartforms Studio
  2. Click New Workflow
  3. Choose trigger:
    • Trigger event: Element on load
    • Set up trigger: Select the Smartform that contains your Map element

This makes sure the workflow runs automatically when the user opens the form.


Studio Elements HTML

Step 2: REST API call

  1. Add a new Action
  2. Choose REST API
  3. Action event: GET
  4. In Set up action, paste the API URL that returns map locations
    Example:
    https://faas-ams3-2a2df116.doserverless.co/api/v1/web/fn-875f7dde-eba8-447d-a54a-6101f2a574de/default/map_locations
  5. Under response format, select Raw data (not Flattened)
  6. Click Test action
    • You will now see the API response in the test window

Studio Elements HTML

Step 3: Update Smartform with the API data

  1. Add a new Action
  2. Choose Update values in Smartform
  3. Action event: Update
  4. In Set up action:
    • Choose the same Smartform
    • The Map element will appear in the list
    • Paste the raw data from the previous test into the Map field

Now the workflow knows how to insert the API data into the map.


Studio Elements HTML

Step 4: Publish the workflow

  1. Click Publish in the top right corner
  2. Activate the workflow

This makes sure the workflow is ready and connected.


Step 5: Connect workflow to Map in the Smartform

  1. Go back to the Smartform
  2. Click on the Map element
  3. Open the Integration tab
  4. Under Workflow, choose the workflow you created
    Example: Load map with data Studio Elements HTML

Result

When a user opens the Smartform:

  • The workflow runs automatically
  • The API is called
  • Locations are retrieved
  • The Map element displays these locations in a dropdown and on the map

The user can now select a location that was retrieved from your API. Studio Elements HTML

Matrix

The Matrix displays data in a customizable table format, enabling organized data entry, reporting, and interaction.

ItemExplaining
PropertyProperty identifier for the element
ItemsEdit the items
Required fieldParticipants need to fill this element out
Read onlyParticipants can only read this element, not enter data or enter.
Show row numberShow the row number on rows
Workflow RetrieveRetrieve values from Workflow
ColorText color
SizeText size
BoldMake the text bold
ItalicMake the text italic
UnderlineMake the text underline

Order Table

An order table is a special constructed element for creating an order table with all the properties connected.

ItemExplaining
PropertyThis is the fieldname that identifies the field
ColumnsDefinition of columns in the order table. ( like Item, product number, quantity, price per unit etc. )
ItemsDefault values into the table
Add sum rowDecide if a sum row should show or not
Sumdefault value for Sum.
Add discountDiscount row will be added
DiscountDefault value for discount
Add VAT rowVAT row will be added to the table as a summarized VAT
VATDefault VAT value
BorderSelect which sides of the text that should include borders and their thickness.
Header ColorText color for table header
Header sizeText size for table header
Label Bold, Italic, UnderlineDefining text style for the table header
Item ColorText color for items in order table
Item sizeText size for items in the order table

QR Code

The QR Code element generates a scannable QR code based on a text value, URL or variable added in the Smartform.

ItemExplaining
PropertyProperty identifier for the QR Code element
ValueThe text, URL or variable used to generate the QR code
Hide until variables have valuesHide the QR code until required values are present
SizeSize of the QR code in pixels
Foreground / Background ColorColors used for the QR code and its background
AlignmentAlign the QR code to the left, center or right
PDF SettingsDefines how the QR code is displayed in PDF export
How to use QR Code

Purpose

The QR Code element generates a scannable code based on a value you enter.
You can use static text, a normal URL, or dynamic variables from the Smartform.


How to use

  1. Add the QR Code element to your Smartform
  2. Open the Value field
  3. Enter the text or URL you want the QR code to point to
  4. The QR code is generated automatically

You can use it for:

  • Linking to a website
  • Showing product info
  • Opening a portal page
  • Quick access to external systems

Simple Example

To create a QR code that opens a website, enter an URL.

When the user scans the QR code, they will be taken directly to the page.


Dynamic Example

You can also let the QR code change based on what the user types into the Smartform.
In this example, the QR code will search Wikipedia for the user’s first name + last name.

Important:
The input fields must use the same Property names as the variables you use inside the QR Code.
Example: If your QR Code uses FirstName and LastName, the input fields must have Property = FirstName and Property = LastName.
Otherwise the QR Code will not update correctly.

Enter this in the Value field: Studio Elements HTML

When the user fills in:

  • First Name: John
  • Last Name: Doe

The QR code will point to John Doe’s Wikipedia page.

This is useful for generating dynamic lookups, profile links, or search URLs.

Radio button

A radio button is very user friendly and can control a lot of the dynamics in a smartform.

ItemExplaining
PropertyThis is the fieldname that identifies the field. Use the same name for the other radio buttons you would like to work together. If you got three radio buttons with choices, they should have the same property name but different values
LabelLabel in front of the radio button
Helper textThis is the help text associated with the field when doing a mouseover
Connected elementsItems depending that will show if the radio button is checked
ColorText color. Default is black
AlignmentAlignment of the radio button within the space it is positioned
SizeText size for label
Bold, Italic, UnderlineDefine the style for label

Radio List

A radio button is very user friendly and can control a lot of the dynamics in a smartform.

ItemExplaining
PropertyIdentifier for the Radio List element
Label / Helper textLabel shown above the list and optional help text
ItemsEdit and manage the selectable radio options
Required / Read only / Prevent data insertField rules for validation and restrictions
Border color / Border / Rounded cornersVisual border and corner settings
Hide labelOption to hide the label
Label StyleDescription size and styling
ColorDescription text color

Resource

A resource is a link to an element that is stored in the resource menu under template. It is recomeneded to use this element instead of a bitmap. A bitmap will be included into the smartform while a resource is an external link to a bitmap in the resource repository. Using resources will improve performance for a smartform.

ItemExplaining
PropertyProperty identifier for rich text element
ResourceResource in the resource library
SizePixel size in the smartform
Rounded cornersIf the element shall have rounded corners or not
Border colorColor for border
BorderBorder thickness and positions
AlignmentLeft, center or right alignment in the area where resource element is placed

Rich text

A smartform can include a rich text editor to get more design into the text you would like to add.

ItemExplaining
PropertyProperty identifier for rich text element
HeightHeight of rich text field. Default is 300
WidthWidth of rich text field. Default is 500
Enable for user inputUser can write text into the smartform when this option is enabled

Signature

This is famous mouse signature for people to sign a document by using their finger or mouse.

ItemExplaining
PropertyProperty identifier for the signature field
LabelLabel in above the signature field
Helper textThis is the help text associated with the field when doing a mouseover
NameName of person that will sign. Here it is smart thing to use variables the will fill out this automatically. Like this {{ name }}. See the section in this document about variables.
Required fieldDecide if the field is required to fill out or not.
Read OnlyDecide if this is a read only field or not.
ColorText color. Default is black
SizeText size for label
Element heightHight of signature field. Default is 152
Border colorColor of border around the signature field
BorderSize of the border

Smart Table

A smart table is an element that needs a smarttable object. This is a pre requisite. You can create the smart object from the Template menu.

ItemExplaining
PropertyThis is the fieldname that identifies the field
Connect Smart ObjectAvailable smart object definitions that can be connected to the smart table
HeadingHeader of smart table
DescriptionDescription following after the header
Max rowsMaximum number of rows a user can add to the smart table
Show row numbersShow row number in the first column
Border colorBorder color for smartform
BorderBorder size and locations
ColumnsYou can restrict which columns should show in a smart table or not. If the smart object got 10 columns it might be smart to only show the 5 most important ones in the table
Header ColorText color for table header
Header sizeText size for table header
Body colorText color for the cell values
Body sizeText size for the cell values
Stripes rowsMake every second row have a different background color
Stripes oddColor for every odd row
Strips EvenColor for every even row
Button labelText to show on the “Add Item” button
Text colorText color for button
Button backgroundBackground color for the button
How to use Smart Table

Purpose

A Smart Table is used when you want the user to add, edit, or remove rows of data when filling out the Smartform.
To make this work, the Smart Table must be connected to a Smart Object.


How to create a Smart Object

  1. Go to the Templates tab in Smartforms Studio.
  2. Select Smart Object in the left menu.
  3. Click New Object.
  4. Give the Smart Object a name.
  5. Add the fields (properties) the table should contain — for example:
    • Product
    • Quantity
    • Price
    • Comment
  6. When finished, click Publish (top right).
  7. The Smart Object will now appear in the Smart Object list. Studio Elements Smart Table

Connect Smart Object to the Smart Table

  1. Go back to your Smartform.
  2. Find your Smart Table element.
  3. Open the dropdown called Connected Smart Object.
  4. Select the Smart Object you just created.
  5. The Smart Table will now use the fields from the Smart Object.

The user will now be able to:

  • Add rows
  • Fill out the fields
  • Delete rows
  • Submit the data back to the system Studio Elements Smart Table

Example

A Smart Object with the type:

  • String
  • Dropdown
  • Checkbox
  • Date

…will result in a Smart Table where the user sees:

Enter your name:Where do you live?Are you over 18?Date of Birth:
[String][Dropdown][Checkbox][ Datepicker]

And the user can press Add Item to insert rows.

Visual Example Studio Elements Smart Table

Spacer

A spacer is used to create space in between elements. The spacer is transparent and the only thing it does is to take up space.

ItemExplaining
HeightHeight of the spacer
WidthWidth of the spacer

Static Table

A static table used to display predefined rows and columns of data.

ItemExplaining
PropertyUnique property identifier for the element
Data SourceSelect whether the table uses Static Data or a Variable
Edit ColumnsDefine table columns and map column keys
Edit DataAdd and manage rows (available when using Static Data)
Variable NameName of the datatable variable (required when using Variable)
Use First Row as HeadersUses first row values as column headers (Variable mode only)
Table WidthDefines the width of the table
Hide Header RowHides the header row
Hide FooterHides the footer row
Show BordersDisplays table borders
Border ColorDefines border color
Border WidthDefines border thickness
Rounded CornersApplies rounded corners to the table
Striped RowsEnables alternating row background colors
Odd Row ColorBackground color for odd rows
Even Row ColorBackground color for even rows
How to use Static Table

Purpose

The Static Table element displays structured, tabular data in a Smartform.

  • Read-only (end-users cannot edit values)
  • Used for presenting static or dynamic data
  • Supports manual configuration or variable-based population

Data Source Options

Static Data (Manual)

Use when table content is predefined.

Configuration:

  1. Select the element.
  2. Set Data Source to Static Data.
  3. Click Edit Columns to define columns.
  4. Click Edit Data to add rows.

Suitable for fixed informational tables.


Variable (Dynamic)

Use when data is provided via:

  • API (Smartform creation)
  • Workflow
  • Dataset (testing)

Variable Requirements:

  • Must be a datatable value (array of objects).
  • Each object represents one row.
  • Object keys must match configured column keys.

Example:

{
  "dataTableValue": {
    "orderLines": [
      {
        "productName": "Laptop Pro 14\"",
        "quantity": "2",
        "unitPrice": "1500"
      },
      {
        "productName": "Wireless Mouse",
        "quantity": "5",
        "unitPrice": "25"
      }
    ]
  }
}

Tip:
You can enable Use First Row as Headers to automatically use the first row values as column headers.
When enabled, the first row will not be displayed as data.

Submit Button

This button will close the smartform for more editing and pass it back to the system for further actions.

ItemExplaining
PropertyProperty identifier for button
NameText to show on button
MessageA message to show after button ha been pressed. Like “Thank you for filling out the form. We will soon contact you”
Helper textA help text will show when you do a mouseover
Background colorButton background color. Default is black
WidthButton width
Rounded cornersGive button rounded corners
Border colorColor of border around the button
BorderSize of the border
Text colorColor of button text
Text sizeSize of text showing on button
AlignmentAligning the button in the cell where it has been placed. Can be aligned to the left, center or to the right

Switch

A switch is an alternative to a checkbox in order to select or deselect an alternative

ItemExplaining
PropertyThis is the fieldname that identifies the field
LabelLabel to show above or in front of the input line
Helper textThis is the help text associated with the field when doing a mouseover
Read OnlyNot possible to enter values into the field
Prevent data insertPrevent data to be inserted through an external API
Default stateDecide if default state of the check box should be checked or not
ColorText color. Default is black
Label ColorText color for label
AlignmentAlign the switch to left, center or right in the cell
Label sizeText size for label
Bold, Italic, UnderlineDefine the style for label and descriptions

Text

A text is text to show in a smartform without any user interaction other than reading the text. You cannot define individual part of a text to be bold, italic etc. The whole text value will use the properties as selected. If it is important to include different text layouts within the same element you should use the rich text element instead.

ItemExplaining
PropertyThis is the fieldname that identifies the field
ValueThis is the value of the field
Helper textThis is the help text associated with the field when doing a mouseover
Rounded cornerIf borders are used you can also tell that the borders should have rounded corners
Border colorColor of the border
BorderSelect which sides of the text that should include borders and their thickness
ColorText color. Default is black
SizeText size
AlignmentAligning the text to the right, middle or left
BoldMake the text bold
ItalicMake the text Italic
UnderlineMake the text underline
IconShow a selected icon in front of the text

Time Picker

A time picker will pick the time in hours, minutes and seconds. You can choose between 12 or 24 hour display of values.

ItemExplaining
PropertyThis is the fieldname that identifies the field
LabelLabel to show above or in front of the input line
PlaceholderThis is a display value only that will show until a user has started to fill in text
Helper textThis is the help text associated with the field when doing a mouseover
Required fieldAn error message will show if the field is not filled in
Read OnlyNot possible to enter values into the field
Prevent data insertPrevent data to be inserted through an external API
BackgroundBackground color for the input field. Default is white
Label topIf not clicked the label will show infront. Otherwise above the input field
LinesDefault number of lines that the text area shall contain
Rounded cornersInput box get rounded corners if checked
Border colorColor of borders for the input field. Default is black
BorderSelect which sides of the text that should include borders and their thickness
ColorText color. Default is black
Label ColorText color for label
Label sizeText size for label

Video

This feature will add a video to be embedded into the smartform. We got special support for YouTube and Vimeo videos.

ItemExplaining
PropertyProperty identifier for the bitmap element
URL/Video IDA video will be specified by a URL for YouTube or any stream server. Vimeo videos has a build in player in smartforms and you will only have to enter the Vimeo ID (Not the full URL)
AutoplayStart playing as soon as the smartform runs
Continuous playWhen reaching the end of the video it will start from the beginning again
WidthWidth of video window
HeightHeight of video window
Rounded cornersShow video window with rounded corners
Border colorBorder color around the video
BorderBorder size and which sides of the video window that should have borders
AlignmentDefine if you would like to align the bitmap to the left, in center or to the right in the cell where you placed it