Matrix Component

Overview
The Matrix (Centauri v1.0) component enables Creators Also known as Unqork Users, or Designer Users; is anyone who is inside the Unqork platform. to create a series of questions that have the same responses. For example, creating a survey where end-users End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. answer several questions on a scale of 1 to 5.
The Matrix component displays data in one of two ways as shown below:
Table
Displays data in a table of radio buttons. Here's how the table option for displaying the Matrix component looks in Express View Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View.:
Inline
Displays data inline with the rest of your module. Here's how the inline option looks in Express View Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View.:
For logic-based configurations, you can also assign numeric values to your response options. For example, Strongly Agree = 5, Agree = 4, and so on.
You'll find the Matrix component in the Display & Layout group to the left of the Module Builder.
About the Configuration Window
To learn more about general component settings, view our General Component Settings article.
Display Settings
Default State Options
Setting |
Description |
---|---|
Hide Label |
Setting Hide Label to (ON) hides Label Text from displaying in Express View Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View.. Your Label Text still displays in the Module Builder. By default, this setting is set to (OFF). |
Hide Field |
Displays or hides the component from view. Setting Hide Field to (ON) hides the component in Express View. Setting it to (OFF) displays the component. The component is always visible in the Module Builder. By default, Hide Field is set to (OFF). |
Formatting
Setting |
Description |
---|---|
Display Type |
You can choose to display the Matrix component either as a Table or Inline.
|
Table |
When using Table display, you can add a text field column to your Matrix component. Doing so lets the end-user End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. enter values, and the text field column triggers when the end-user selects the triggering value. For example, if an end-user selects an option called Other/Not, the selection triggers a text field where the end-user can enter a specific value. Selecting Table displays the following settings:
|
Inline |
When you select Inline, the following setting displays: Tooltip: A short hint that displays when an end-user positions their cursor over the |
Input Behavior
Setting | Description |
---|---|
Input Behavior |
Controls how end-users End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. interact with the component. Choose from the following options:
|
Data Settings
Data Storage
Setting |
Description |
---|---|
Store Data in Database |
The Store Data in Database setting affects how data persists through your application. When set to (ON), Unqork stores values entered into the field to the database (server-side submission). This occurs in three scenarios:
By default, workflows persist data from all fields in the client-side submission when navigating between screens. However, only values from fields with Store Data in Database enabled store in the server-side submission. Set the toggle to (OFF) when you don’t want to store the values from this field in the database. When using a Plug-In to remote execute a module, ensure data moving between modules is persistent. You can optionally enable Store Data in Database for components in the source module. But any components in the API module whose values are included in an API response must have Store Data in Database enabled. When a component’s data is not persistent, the data isn't included in an API call's response. So, Plug-Ins or external services requesting data from the API module can't receive non-persistent data in the response. Store Data in Database also affects what data is tracked using Unqork’s built-in tracker. When the Enable Tracker and Track Value toggles are set to (ON) in Module Settings, only values from fields with Store Data in Database enabled are tracked. By default, the Store Data in Database toggle is set to ON. |
Validation Settings
User Input
Setting |
Description |
---|---|
Required |
When set to (ON), the end-user must enter a value in the component's visible fields. When set to (OFF), the input is optional. By default, Required is set to (OFF). |
Error Message |
A custom error message that displays below a required field. The error message displays when the end-user tries to save or submit the module without completing the required field. |
Advanced Settings
Additional Styling
Setting |
Description |
---|---|
Custom CSS Class |
Enter a Custom CSS Cascading Style Sheets (CSS) is a style sheet language used for presenting how a HTML or XML document looks to end-users. Class to apply to your component. Custom CSS lets you maintain a consistent look and feel when the field or element is part of a template or multiple modules. Updated CSS styling applies to all components that reference this custom class name. |
Adding a Matrix Component
In this scenario, you'll create a car insurance questionnaire using the default Table display option. These instructions assume that you have an open module saved with a title.
1. | In the Module Builder drag and drop a Matrix component onto your canvas. |
2. | In the Property ID A Property ID is the unique field ID used by Unqork to track and link components in your module. field, enter surveyInsurance . |
3. | In the Canvas Label Text Canvas Label Text indicates the purpose of the corresponding field or component. For non-input components, the Canvas Label Text isn't end-user facing, and only appears in the . field, enter Car Insurance Questionnaire . |
4. | In the Rows/Collections table, enter the following: |
Label |
Value |
|
---|---|---|
1 |
My car insurance is priced fairly. |
myCarInsuranceIsPricedFairly |
2 |
My car insurance does not provide enough coverage. |
myCarInsuranceDoesNotProvideEnoughCoverage |
3 |
My car is not worth insuring. |
myCarIsNotWorthInsuring |
4 |
Car insurance should not be required by law. |
carInsuranceShouldNotBeRequiredByLaw |
The Label column sets the row labels for your table.
5. | In the Columns/Properties table, enter the following: |
Label |
Value |
|
---|---|---|
1 |
Strongly Agree |
stronglyAgree |
2 |
Agree |
agree |
3 |
Undecided |
undecided |
4 |
Disagree |
disagree |
5 |
Strongly Disagree |
stronglyDisagree |
The Label column sets the column headers for your table.
6. | Click Save Component. |
7. | Save your module. |
Preview your module in Express View Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View.. Note how the data displays in the Matrix table:

Overview
The Matrix (Centauri v1.0) component enables Creators Also known as Unqork Users, or Designer Users; is anyone who is inside the Unqork platform. to create a series of questions that have the same responses. For example, creating a survey where end-users End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. answer several questions on a scale of 1 to 5.
The Matrix component displays data in one of two ways as shown below:
Table: Displays data in a table of radio buttons. Here's how the table option for displaying the Matrix component looks in Express View Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View.:
Inline: Displays data inline with the rest of your module. Here's how the inline option looks in Express View Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View.:
For logic-based configurations, you can also assign numeric values to your response options. For example, Strongly Agree = 5, Agree = 4, and so on.
You'll find the Matrix component in the Display & Layout group to the left of the Module Builder.
About the Configuration Window
To learn more about general component settings, view our General Component Settings article.
Display Panel
Setting |
Description |
---|---|
Label Text |
Label Text conveys what the input component is and what information it displays. Enter the purpose of the corresponding component or field. User-friendly labels make your module more accessible. Keep labels short and descriptive (a word or two) using title case. For longer entries, use sentence case. |
Rows/Collections |
Use this table to set the row labels.
By default, the value is a camel case A naming convention for computer programming. Use camelCase for Property IDs, for example: newUser, lastName, & rdoButton. version of the label. You can also assign a numeric value to each option for use in logic-based configurations. |
Columns/Properties |
Use this table to set the column headers.
By default, the value is a camel case A naming convention for computer programming. Use camelCase for Property IDs, for example: newUser, lastName, & rdoButton. version of the label. You can also assign a numeric value to each option for use in logic-based configurations. |
Display Type |
You can choose to display the Matrix component either as a Table or Inline.
|
Table |
When using Table display, you can add a text field column to your Matrix component. Doing so lets the end-user End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. enter values, and the text field column triggers when the end-user selects the triggering value. For example, if an end-user selects an option called Other/Not, the selection triggers a text field where the end-user can enter a specific value. Selecting Table displays the following settings:
|
Inline |
When you select Inline, the following setting displays: Tooltip: A short hint that displays when an end-user positions their cursor over the |
Hide Label |
Setting Hide Label to (ON) hides Label Text from displaying in Express View Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View.. Your Label Text still displays in the Module Builder. By default, this setting is set to (OFF). |
Disable User Input |
When set to (ON), end-users cannot interact with or edit the Express View's input field or element. When end-users hover over the field, their cursor changes to alert them to the status change. By default, Disable User Input is set to (OFF). |
Read Only View |
When set to (ON), the component is display-only. If another component sends content to the field, the end-user can view that content. Otherwise, end-users see the word None. By default, the Read Only View toggle is set to (OFF). |
Hide Field |
Displays or hides the component from view. Setting Hide Field to (ON) hides the component in Express View. Setting it to (OFF) displays the component. The component is always visible in the Module Builder. By default, Hide Field is set to (OFF). |
Custom CSS Class |
Enter a Custom CSS Cascading Style Sheets (CSS) is a style sheet language used for presenting how a HTML or XML document looks to end-users. Class to apply to your component. Custom CSS lets you maintain a consistent look and feel when the field or element is part of a template or multiple modules. Updated CSS styling applies to all components that reference this custom class name. |
Data Panel
Setting |
Description |
---|---|
Store Data in Database |
The Store Data in Database setting affects how data persists through your application. When set to (ON), Unqork stores values entered into the field to the database (server-side submission). This occurs in three scenarios:
By default, workflows persist data from all fields in the client-side submission when navigating between screens. However, only values from fields with Store Data in Database enabled store in the server-side submission. Set the toggle to (OFF) when you don’t want to store the values from this field in the database. When using a Plug-In to remote execute a module, ensure data moving between modules is persistent. You can optionally enable Store Data in Database for components in the source module. But any components in the API module whose values are included in an API response must have Store Data in Database enabled. When a component’s data is not persistent, the data isn't included in an API call's response. So, Plug-Ins or external services requesting data from the API module can't receive non-persistent data in the response. Store Data in Database also affects what data is tracked using Unqork’s built-in tracker. When the Enable Tracker and Track Value toggles are set to (ON) in Module Settings, only values from fields with Store Data in Database enabled are tracked. By default, the Store Data in Database toggle is set to ON. |
Validation Panel
Setting |
Description |
---|---|
Required |
When set to (ON), the end-user must enter a value in the component's visible fields. When set to (OFF), the input is optional. By default, Required is set to (OFF). |
Error Message |
A custom error message that displays below a required field. The error message displays when the end-user tries to save or submit the module without completing the required field. |
Adding a Matrix Component
In this scenario, you'll create a car insurance questionnaire using the default Table display option. These instructions assume that you have an open module saved with a title.
1. | In the Module Builder drag and drop a Matrix component onto your canvas. |
2. | In the Property ID field, enter surveyInsurance . |
3. | In the Label Text field, enter Car Insurance Questionnaire . |
4. | In the Rows/Collection table, enter the following: |
Label |
Value |
---|---|
My car insurance is priced fairly. |
myCarInsuranceIsPricedFairly |
My car insurance does not provide enough coverage. |
myCarInsuranceDoesNotProvideEnoughCoverage |
My car is not worth insuring. |
myCarIsNotWorthInsuring |
Car insurance should not be required by law. |
carInsuranceShouldNotBeRequiredByLaw |
The Label column sets the row labels for your table.
5. | In the Columns/Properties table, enter the following: |
Label |
Value |
---|---|
Strongly Agree |
stronglyAgree |
Agree |
agree |
Undecided |
undecided |
Disagree |
disagree |
Strongly Disagree |
stronglyDisagree |
The Label column sets the column headers for your table.
6. | Click Save. |
7. | Save your module. |
Once complete, your module looks like the following in Express View:
Resources