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
1HeadlineHeadline elements are possible to show as table of content. Can be defined as H1, H2 or H3
2TextFixed text to show in a smartform
3HyperlinkDefine a hyperlink by text and actual link
4Input lineThe input line can be put to the left or on top of the input field
5Input areaInput area can define number of input lines
6TimepickerA time picker control that allows you to pick a time
7DatepickerA date picker control that allows you to pick year, month, and day of month
8CheckboxA standard checkbox including a label
9SwitchA switch button to toggle on or off. This is an alternative to a checkbox
10ListList of data
11DropdownDropdown with selectable items
12RadiobuttonRadio button that are grouped together within a row
13TableA standard table
14SignatureSignature field where a person can sign by using a mouse or any other pointing device
15Smart TableUses a Smart object. A Smart table that can be filled with data by the user
16Order TableSpecial constructed element for creating an order table
17BitmapBitmap that can be resized and aligned
18VideoVimeo, YouTube or file location of video that will run as part of your smartform
19DividerHorisontal divider that can be defined by color and thickness
20File uploadOption to upload a file as part of the Smartform
21AttachmentAttach a file to the Smartform
22Submit buttonButton that submits the content of the Smartform. This button is necessary when a Recipient submits data to your systems
23Clear buttonButton that clears the Smartform if it is pushed
24Rich textA simplified rich text editor allows for more text design element in the Smartform
25SpacerAllocate empty space in the form
26MatrixDisplays data in a customizable table format, enabling organized data entry, reporting, and interaction
27MapDisplay and interact with geographic locations

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

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
WithButton with
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

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
WithYou 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 withWith 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 WithThe with of the dropdown box
Input AlignmentAligning the text in the dropdown box
Input Bold, Italic, UnderlineDefining text style for the label

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

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
WithThe with 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 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 withWith 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’

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

List

A List is a set of alternatives that is offered in a list. Each alternative has an description to it.

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
ItemsHere you can specify the items in the list with display values, Id values and description text. Press the edit items button to access the list
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
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
Label ColorText color for label
Label sizeText size for label
Label Bold, Italic, UnderlineDefining text style for the label
Description ColorText color for the description to the list item
Description sizeText size for the description text

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

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

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
WithWith 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

Submit

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
WithButton with
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

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
WithWith of the spacer

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
WithWith 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

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

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