The forms feature supports eight controls. This topic describes these controls and the scenarios for which the controls are suitable.

Configure controls

  • Basic configuration
    • Title: the control name that is displayed. This control name is used as the column name of the form.
    • Field Name: the dimension or measure name of the dataset that is created based on the form.
    • Tips
    • Description
    • Default Status
    • Default Value

      You can select Use Logon Username to specify the default value as your logon username.

  • Style

    Configure the style of the control.

  • Validation

    Specify the source, type, length, and values of data in the control.

Single-line Text Box

You can use this control to add a single row of text data, such as names or job titles. Single-line Text Box - 311

Multi-line Text Box

You can use this control to add multiple rows of text data, such as job introductions or self-introductions. Multi-line Text Box - 311

Single-select Dropdown

You can use this control to select a single option from limited option data, such as departments and ranks. Single-select Dropdown - 311
When you use the Single-select Dropdown control, configure the Options parameter. The option values in the drop-down list include custom data and the data from a specified connected data source:
  • Custom Data
    You can customize the data in the control based on your requirements. Custom Data - 311
    Note For more information about Set Linked Fields, see Set linked controls.
  • Connected data source
    You can also use data from a connected data source as data in the control. Options - 311
    When you create a form, the values of the debit card field can be used as the values of the control.

Numeric Text Box

You can use this control to add numeric data, such as the length of employment. Numeric Text Box - 311

Date

You can use this control to add date data. Date - 311

Single Select

You can use this control to add limited option data. This option is suitable for scenarios in which a small number of options exist. Single Select - 311
Note For more information about Set Linked Fields, see Set linked controls.

Tree drop

You can use the Tree drop control to specify data in the data source as the data written to the form. The data source must be associated with Quick BI.
Note The system supports only the MySQL data sources.
In this example, the area field of the company_sales_record table in the MySQL data source is used as the source of the form. Tree drop - 311When you create a form, you can use the values of the area field as the input for the form.

Page Breaks

You can use the Page Breaks control to drag and drop existing controls to the Page Breaks control. Page Breaks - 311

Set linked controls

This option is required only if the control is Single-select Dropdown or Single Select and the data source is Custom Data. In the following example, a Date control and a Numeric Text Box control are linked to a Single-select Dropdown control.
  1. On the form editing page, add the Single-select Dropdown, Date, and Numeric Text Box controls. 2
  2. Select the Single-select Dropdown control. In the Options section on the right, select Custom Data for Source and edit the drop-down options.
    In this example, the drop-down options are Number and Date. 3
  3. Click Set Linked Fields.
  4. In the Set Linked Fields dialog box, perform the steps in the following figure to link the values of Options and Related Fields. Linked Fields

    When you add a form, only the controls linked to the Single-select Dropdown control are displayed as the values of the Single-select Dropdown control. If you select Date for the Single-select Dropdown control, only the Date control is displayed as the value of the Single-select Dropdown control.