userguides
  • Welcome
  • Contact Us
  • Getting Started
    • Quickstart
    • Inside ViewZen
  • ViewZen Accounts
    • Overview
    • Account Owner
    • Home Page
    • Member Profile
      • My Account
      • My Organization
      • Security
      • Permissions
    • Roles and Permissions
      • Standard Roles
      • Custom Roles
    • User Management
    • User Groups
    • Multi factor Authentication
    • Context based Permissions
    • API Keys
  • Appverse
    • Overview
    • Home Page
    • Apps
      • Create an App
        • Folders
          • Create
          • Edit
          • Delete
          • View Contents
        • Roles
        • Forms
          • Create
            • Get Familiar
              • General Properties
              • Hint
              • Appearance
              • Validations
                • Examples
              • List of Values
              • Scope
                • Examples
              • Search Settings
              • Security
              • Expressions
              • Appverse Expressions
                • Examples
              • Choices
              • Instance Name
              • Download Form
              • Import Form
            • Best Practices
            • Create with Form Builder
            • Create with GenAI
            • Create with ODK compatible xls
          • Edit
          • Delete
          • Deploy / Undeploy
          • Settings
            • General Settings
            • Data Display
            • Appearance
            • Languages
            • Auto Numbering
            • Lookup
            • Child Forms
            • Report Template
            • Validations
            • Data Formatting Rules
            • Record Access
            • Quick Filters
          • Allocation
            • Get Familiar
              • General Properties
              • View Permissions
          • Quick Configuration
          • Events and Actions
            • Save to DB
            • Lock Record
            • Update Status
            • Create / Update Record
            • Send Notifications
            • Custom Scripts
          • Conditions in Appverse
          • Advanced Search
          • Data
            • Card Layout
            • Grid Layout
            • Master Detail Layout
          • Dashboards
            • Publish Dataset
            • Dashboard
        • Dashboards
          • Link
      • Edit an App
      • Delete an App
      • List of all Apps
      • Publish an App
      • Export & Import an App
    • User Allocation
    • Library
      • Custom Scripts
      • Custom Queries
      • Report Templates
    • Departments
    • Settings
  • ViewZen Analytics
    • Overview
    • Landing Page
    • Dashboard
      • List of Dashboards
      • Create a Dashboard
        • Get Started
        • Datasets
        • Sheets
        • Version Control
        • Toolbar
          • Place Components
            • Properties
              • Data Properties
                • Data Fields
                • Inbuilt Aggregation Functions
                • Dimensions
                • Measures
                • X-axis and Y-axis
                • Column
                • Data Series
              • Format Properties
                • Title / Sub Title / Label
                • Appearance
                • Legend
                • Viewer Settings
                • General Settings
                • Axis Settings
                • Axis Label Settings
                • Axis Title Settings
                • Label Formatting
                • Sorting
                • Color Formatting
                • Column Formatting
                • Stacked Header
                • Footer
                • Actions and Events
                • Chart Settings
                • Grid Settings
                • Data Series Formatting
                  • Value Series
                  • Column Series
                  • Stacked Column Series
                  • Radar Column Series
                  • Waterfall Series
                  • Line Series
                  • Bubble Series
                  • Pie Series
                  • Donut Series
                  • Funnel Series
                  • Clustered Area Series
              • Tooltip Properties
                • Properties
            • Visuals
              • Cards
              • Charts
              • Grid
              • Textbox
              • Filter
              • Image
              • Zone
            • Visuals Marketplace
          • Edit Components
          • Delete Components
        • Filters
          • Fixed Filters
            • Create Filter
              • Filter Conditional Statements
            • Edit Filter
            • Delete Filter
          • Interactive Filters
            • Create Filter
            • Edit Filter
            • Delete Filter
      • Edit a Dashboard
      • Share a Dashboard
      • Delete a Dashboard
      • View a Dashboard
      • Use Dashboard for Presentations
Powered by GitBook
On this page
  • Structure of a Conditional Block
  • Conditional field
  • Operators
  • Value
  • Add other Conditional Blocks
  1. Appverse
  2. Apps
  3. Create an App
  4. Forms

Conditions in Appverse

PreviousCustom ScriptsNextAdvanced Search

Last updated 4 months ago

A Conditional Block is a logic-based structure used to execute specific actions or workflows only when predefined conditions are met. It enables dynamic decision-making by evaluating input values. In Appverse, a conditional block is used in the following features to control their executiion

Structure of a Conditional Block

A condition block in Appverse comprises of four components

  • Conditional field - This is the field on which the condition is applied. It can be a form input field or a system-generated field.

  • Operator - Determines how the conditional field is compared against a value.

  • Value - The specific value against which the conditional field is evaluated.

  • Add another additional block - This creates an additional conditional block at the same level or as a child within the conditional hierarchy.

Conditional field

Appverse System Generated Fields

The following system fields can be used in the conditional statements

  • Created by

  • Modified by

  • Status

  • Lock Record

  • Created At

  • Modified At

  • Version -> The version of the data.

  • Source -> Start - The start date and time of data capture.

  • Source -> Today - The date on which the data was captured.

  • Source -> Username - The user who captured the data.

  • Source -> Timespent - The time taken to capture the data.

  • Source -> Location - The location at which the data was captured.

  • Source -> Appversion - The version of Appverse Mobile Web at the time of data capture.

  • Source -> Phonenumber - The phone number of the user who captured the record.

  • Source -> Deviceid - The device id.

  • Source -> Devicemodel - The device model.

Form Input Fields

Currently, the following form input fields can be used in the conditional statements

  • Text

  • Integer

  • Decimal

  • Select One

  • Select Multiple

  • Date

  • Time

  • Date & Time

  • Calculate

Identifying the different fields and their types

Operators

The following operators are supported in Appverse conditional statements

  • Equal To - Applicable only for all valid input fields. Verifies if there is an exact match with the provided value.

  • Not Equal To - Applicable only for all valid input fields. Ignores records for which there is an exact match with the provided value.

  • In - Applicable only for all valid input fields. Checks for an exact match with any one of the values provided in the IN condition.

  • Not In - Applicable only for all valid input fields. Ignores records for which there is an exact match with any one of the values provided in the IN condition.

  • Exists - Applicable only for all valid input fields. Checks if a value exists for the field and compares it against a true or false input.

  • Greater than - Applicable only for number and date input fields. Checks if the data is greater than the provided value.

  • Greater than or Equal To - Applicable only for number and date input fields. Checks if the data is greater than or equal to the provided value.

  • Less than - Applicable only for number and date input fields. Checks if the data is lesser than the provided value.

  • Less than or Equal To - Applicable only for number and date input fields. Checks if the data is lesser than or equal to the provided value.

Value

Static Value

A Static Value is a fixed, predefined value that does not change dynamically based on user input or system conditions. It is manually entered or selected from a list of allowed values during configuration.

Add other Conditional Blocks

  • Outermost conditional blocks - All the outermost conditional blocks are at the same hierarchy and are joined by an AND statement.

  • Nesting in conditional blocks - Conditional statements can be nested infinitely. All the conditions at the same level can either be joined by an AND or by an OR statement.

Tip

To enter multiple static values in the value field, press Enter after each distinct value.

Source -> - The identifier for the record.

Text -

Integer -

Decimal -

Select One -

Select Multiple -

Date -

Time -

Date & Time -

Calculate -

Appverse System Fields - These fields are prefixed with a black dot followed by the data type of the field. E.g.

Instancename
Events and actions
Child forms
Report templates
Data formatting rules
Quick filters
Allocation
Advanced Search
Conditional Block in Appverse