The Properties menu consists of the following tabs:
When using Views on a Form, the View Properties are displayed when selecting a specific View.
Properties | ||
---|---|---|
Feature | Description | How to use it |
Name | The name of the View in design time | Type a new name if required |
Title | The title of the View displayed in runtime | Type a new name if required |
Visible | Indicates whether the View should be visible in runtime | Deselect the option if the View should not be visible |
Enabled | Indicates whether the View should be enabled for use in runtime | Deselect the option if the View should not be enabled for use |
Collapsible | Indicates whether the View should be collapsible in runtime | Deselect the option if the user should not be able to collapse the View in runtime |
Default |
Indicates the default to apply to the specific View. The following are available:
|
Select the default option to apply in runtime |
Width | Indicates the width of the View in relation to the Form | Type the percentage that should be used for the width of the View |
Height | Indicates the height of the View in relation to the Form | Type the percentage that should be used for the height of the View |
When working with a Form, the Appearance can be changed and Styling can be applied for example. In order to do this, the Properties of a Form need to be configured.
Properties | ||
---|---|---|
Feature | Description | How to use it |
Name | The name of the Form | Type a new name if required |
Visible | Indicates whether the Form should be visible | Deselect the option if the Form should not be visible |
Enabled | Indicates whether the Form should be enabled for use | Deselect the option if the Form should not be enabled for use |
Styles | Provides the ability to apply styling to the Form. See the Style Builder topic for more information on styling options | Click on the ellipsis to open the Style Builder |
Conditional Styles | Styles or formatting set to a Form which will fire when a certain condition validates to TRUE. See the Conditional Styles section for more information | Click on the ellipsis to open the Conditional Formatting screen |
Theme | Provides a list of themes that can be applied to the Form | Select the option required |
Border Size | Indicates the size of the border of the Form | Type the number of pixels required |
Border Color | Indicates the color of the border of the Form | Type text for the name of the color or the specific hexidecimal code if a new color is required |
Padding | Indicates the padding applied to the Form | Type the number of pixels to be applied if required |
Form Color | Indicates the color of the Form | Type text for the name of the color or the specific hexidecimal code if a new color is required |
Width | Indicates the width of the Form | Type the percentage that should be used for the width of the Form |
Min. Form Width | Indicates the minimum Form width to be used | Type the number of pixels to be used for the minimum Form width. 800 px is a nice size to work with |
Max. Form Width | Indicates the maximum Form width to be used | Type the number of pixels to be used for the maximum Form width. 800 px is a nice size to work with |
Spinners | Selected by default. Enables a spinner display on the Form while the Form is loading at runtime. If the Spinner properties of Views and the Form is set to execute, the Form's spinner settings will override the spinners of the Views. | Deselect the option if a spinner should not be displayed. |
Delay | Represents the delay in milliseconds before the spinner is displayed at runtime. If Spinners = True and delay = 1000, then the spinner will appear after a second. This is useful for example when the Form usually takes less than the delay specified to load, but you want to show that it’s busy if it takes longer than usual. | Type a number in milliseconds. |
Anonymous Access |
You can mark specific Forms to be available anonymously. Enabling Anonymous Access on a Form would allow external users to access that specific Form without having to provide credentials. |
Select the option |
Application Form | Makes the Form available in the Forms folder of the K2 Mobile app. These Forms are downloaded from the server to the device, and allow the end user to capture data or start a process instance from a form, all from their device. | N/A |
Offline Availability | Makes the Form available for offline use in the K2 Mobile app. This means that any control’s data source that has been marked for data caching will download the data to the app to allow the Form to be filled out even when the K2 Mobile app is offline. | N/A |
The Collapse and Expand Events and methods have been added to the Rule Designer when using a Rule on a Form. These Events and methods can be used with Actions such as Transfer Data for example or to improve performance. The Load and Initialize methods can be used when expanding the View for example and don't have to be executed when the Form is Initialized. This minimizes the execution time when a Form is Initialized. See KB001387 - How to use the Collapse and Expand View Events.
View Events
View Methods
Video | Links | Learn | Support |
No videos found for this article K2 on YouTube
No Additional links found for this article
No self-learning content for this article Try some scenarios...
No relevant support links available for this article
|