Blocworx Documentation
  • Welcome to Blocworx
  • The structure of Blocworx
    • What is a project?
  • Getting Started
  • How To's
    • How To's
      • Get Started: Build a Simple Module
      • Build a simple invoicing system
  • Page
    • Page Overview
      • Page Sections
      • Modules in Pages
      • Sub Pages
      • URL Links
    • Edit a Page
    • Manage Pages
  • Module
    • Module Overview
      • Module Sections
      • Blocs in Modules
      • Automated Reports
    • Module Editor
      • Add, remove and move Sections and Blocs
      • Edit Module Location & Icon
      • Edit Module Details
      • Import from another Module
      • Delete a Module
      • Make this module available to child instances
    • Manage Modules
  • Bloc
    • Bloc Overview
    • Bloc Front End Overview
      • Data Display
      • Advanced Reports
    • Bloc Editor Overview
    • Pdf & Doc File Template Builder
    • The Blocworx Process Flow
    • Edit Templates
  • Bloc Editor
    • Bloc Form Builder Preview
    • Fields, Tools and Charts
      • Standard Input Fields
        • QR Code
        • Text
        • Large Text Field
        • Checkbox
        • Multi Button
        • Dropdown from List
        • Date/Time Selector
        • Bluetooth (Beta)
        • Button
      • File & Image Fields
        • File Field
        • Multi File Field
        • Image URL Field
      • Linked Data Selection Fields
        • Dropdown from Bloc
        • Autocomplete
        • Radio Buttons From Bloc
        • Checkboxes From Bloc
        • Link Data Field
      • Content Editing Components
        • HTML Field
        • Separator Field
        • Content Editor For User (WYSIWYG)
        • Content Editor (WYSIWYG)
      • User Based Components
        • Create User Pop Up
        • Logged in Users Information
        • User Select Field
        • Signature & Authentication
      • Dynamic Output & Variable Components
        • Time/Date Difference
        • Auto Generate Field
        • Plain Data Field
        • Maths Field
        • Field Merge Builder
        • Label Field
        • Barcode Generator
      • Third Party Integration Components
        • Blocworx Gateway
        • Bartender Integration
        • File Builder
        • Mindee API
      • Charts, Results & Data Feeds
        • Local Data Doughnut Chart
        • Advanced Chart Set 1
        • Results Box
      • Sub Blocs, Tools & Components
        • Submit Button
        • Sub Bloc
        • Cross-Bloc Data Manipulator
        • Bloc List
        • Mail Alert
        • Calendar & Resource Planning
    • Field Create, Edit, Parameters, Rules and Actions
      • Creating a Field
      • Editing a Field
      • Field Parameters
        • Choose hidden options for this field
        • Mobile Configurations
        • Rule and Actions Based Parameters
        • Main Field Parameters
        • Conditional Value
        • Set Character View Limit
        • Conditional Visibility
        • Dynamic Data Update (Update Value Based On Another Date Field)
        • Field Names in Different Languages
        • Manage Field Actions
        • Load Data from Another Bloc
      • Field Rules and Actions
        • Can not be empty
        • Must Be Equal To
        • Cannot Be Equal To
        • Must be Between Two Values
        • Must be at least X number of characters
        • Must be exactly X number of characters
        • Item must have been entered elsewhere
        • Item must not have been entered elsewhere
        • A specific value is required elsewhere
        • A specific value cannot be present elsewhere
        • Populate another local field with data from elsewhere
        • Populate another local field with total from elsewhere
        • Max Allowed Duplicates
        • Can only be numbers/integers
        • Keep Data for Next Entry
        • Must be Certain Format
        • Cannot be Equal Another Local Field
        • Must be equal to another local field
        • Populate another local field with part of this field
        • Populate local field with data from another local field
        • Must have matching equivalent data in another form
    • Bloc Settings
      • Main Bloc Settings
      • Functional Behaviour Settings
      • Bloc Layout and Visibility Settings
      • Data Display Settings
      • User Restricted Data Settings
      • Manage and Build Templates
      • Bloc, User and Role Access
      • List of available Field Slugs
      • Manage Bloc Scheduler
  • Manage Data
    • Manage Data Overview
    • Raw Data and Counting Reports
    • Look Up/Edit Data
    • Find and Replace Data
  • Administration
    • Admin & Development Overview
    • Manage Users
      • Profile Filter
    • Roles & Permissions
      • Roles
      • Permissions
    • Manage Mail Alerts
  • App Settings
    • Sign In With Google
    • Timeout Setting
  • No Code Development
    • Manage Blocworx Instances
      • Parent and Child Instances
    • Edit Theme
    • Manage Modules
    • Manage Pages
    • Extra and Beta Features
Powered by GitBook
On this page
  • Filtering the data in the dropdown (Only get data matching local fields)
  • Initial Parameters

Was this helpful?

  1. Bloc Editor
  2. Fields, Tools and Charts
  3. Linked Data Selection Fields

Dropdown from Bloc

PreviousLinked Data Selection FieldsNextAutocomplete

Last updated 9 months ago

Was this helpful?

The Dropdown from Bloc field is a list of values from another bloc (or even the same bloc if required). This data is then presented as dropdown select field. This is commonly used to fetch master or dynamic lists that we want to manage elsewhere. For example, we might have a dropdown of data of customers where the customer information is coming from a CRM system you might have built as another module elsewhere in Blocworx.

Note: This field is distinguishable from the Dropdown from List field field. You use the Dropdown from List field when you know you will never be changing the data in the dropdown field (for example list of counties in your country). Whereas the Dropdown from Bloc field is used for dynamic, changing, flexible and filtered data.

Filtering the data in the dropdown (Only get data matching local fields)

An important feature of this field is that you can get data based on certain values in your form. For example, you might have another bloc with a list of customers, each customer having its own category, like "High Priority", "Low Priority". In the bloc containing this field you might only want a dropdown of customers who are categorised as High Priority. In this case you can have another field in your bloc with the value "High Priority" and this field can then behave as the field that filters the data to only get High Priority customers.

Initial Parameters

Parameter

Description

Type Module name (min 3 letters, leave blank to use current module)

Used to find the module you would like to use in order to find the bloc to get the data from (defaults to the module you are currently in)

Select Bloc

Select the bloc that contains the field you would like to get the data from

Select Field

The data from this field will be what will appear in your dropdown selection

Only get data matching local fields

Show List in Reverse

Reverses the output of the list, this is useful for numbered items.

Show Sorted List

Sorts the output of the list alphabetically or in descending order for numbered items.

Exclude local matching data from field

If an entry in the data in the bloc you are working on contains a value equal to what is in the dropdown list, you may exclude that value from the list. This is useful for not showing items that have been submitted into the form. For example, perhaps you might want to to only show Job Numbers that have not been complete yet, but not show the Job Numbers that have been submitted.

Note: Currently to select the same field you are creating, you must first create the field, then edit it.

Only After Date

This excludes data after a given date, or just type today, to only get data that was submitted that day.

Note: This parameter is currently under review to allow more date options, or to allow you to pick another date field that is in the same form, giving you more dynamic control over this option.

Matching Fields for Excluding Data

This allows you to build chose fields whose values must match in the records in order to exclude the record. For example, if you have a date field and you want to exclude everything that has the same date value set in your bloc, then you would chose that field. As a result it finds all the records with that date and excludes them.

Hint: To trigger this filter the . One issue with this is, sometimes you may want to filter immediately using the value in a plain data field when the bloc loads. To filter immediately, select the option: "Trigger rules on first initiation of the field"

As described above in .

Filtering the data in the dropdown
A typical Dropdown from Bloc field where the data in the dropdown is coming from Bloc 2
Here is the bloc that contains the data we are trying to retrieve
In this example, the "Customer Type" field is being used to filter "Data from Bloc 2" to only show High Priority Customers
And now we only show Low Priority customers as the Customer Type field has changed.
rules in the field set to filter the data must be triggered