Overview
Version
Report Server Version | App Version | Functional Change |
11.0 | / | / |
11.0.21 | 11.0.85 | Added Allow One-Click Clearance and Allow Password Display for Password Widget on mobile terminals. |
Application Scenarios
As Widget in Data Entry Report
You can enter passwords through the password widget in data entry reports.
As Widget on Parameter Panel
On parameter panel, you can use this widget to enter passwords and query parameters. Generally, Password Widget is not used for parameter query.

How to Add
Widget in Data Entry Report
Select a cell, click Widget Setting on the right attribute panel, and select Password Widget from the drop-down menu of Select Widget.
Widget on Parameter Panel
Drag Password Widget from the widget toolbar into the parameter panel.
Widget Introduction
Attribute
Widget in Data Entry Report
The following figure shows the Attribute tab page of the password widget.
The following table introduces the settings of each attribute in detail.

Classification | Settings | Introduction |
Basic | Widget Name | Name (empty by default) of the widget. It is manually entered and usually used in conjunction with parameters. For example, you can pass the widget value to the corresponding parameter after the widget is obtained through the widget name. |
Available | Determines whether the widget is available. Checked (default): Widget can be edited during data entry. Unchecked: Widget is gray and cannot be edited during data entry. | |
Visible | Determines whether the widget is visible. Checked (default): The widget is displayed on the page during data entry. Unchecked: The widget is not displayed on the page during data entry. | |
Advanced | Watermark | Displays light gray watermark texts in the widget during the data entry. You can manually enter the needed prompt information in Watermark (empty by default). The watermark disappears after you click the widget editing area. |
Validation | Allow Null | Determines whether allow the widget to have no value. Checked (default): The widget allows no value. Unchecked: A prompt pops up during data entry validation and submission if the widget has no value. |
Error Tip | This setting item appears when Allow Null is unchecked, allowing you to customize the prompt message. The default message is: "Can not be null." | |
Filling Rule | Includes rules that need to be met when you enter values in a widget. An error message pops up if the rules are not met. The following shows three supported validation rules: 1. None (default): No validation rules 2. Length: You can customize the minimum and maximum length of passwords. 3. Custom: You can customize validation rules through regular expressions. For details, see Regular Expression. |
Widget on Parameter Panel
The following figure shows the Attribute tab page of the password widget.
The following table introduces the settings of each attribute in detail.
Classification | Settings | Introduction |
Basic | Widget Name | Name (default value as password0) of the widget It is manually entered, usually used in conjunction with parameters (such as passing the widget value to the corresponding parameter after the widget is got through the widget name). |
Available | Determines whether the widget is available. Checked (default): Widget can be edited during data entry. Unchecked: Widget is gray and cannot be edited during data entry. | |
Visible | Determines whether the widget is visible. Checked (default): The widget is displayed on the page during data entry. Unchecked: The widget is not displayed on the page during data entry. | |
Advanced | Label Name | This setting item is used to add labels for password widgets on mobile terminals because mobile application does not support Label Widget on the parameter panel, but recognize the Label Name attribute of ordinary widgets. |
Widget Value | Displays the default value (empty by default) during the widget initialization. String, Field, and Formula are supported. String: includes characters and texts like "New York". Field: includes dataset fields, such as the Sales_Volume field of the dataset ds1. Datasets include template datasets and server datasets. Formula: includes formulas supported by the designer, such as the following formula through which the value of the cell A1 can be obtained. | |
Watermark | Displays light gray watermark texts in the widget during the data entry. You can manually enter the needed prompt information in Watermark (empty by default). The watermark disappears after you click the widget editing area. | |
Font Size | Includes the size of the font (default value as 12) entered in the text box. ![]() | |
Validation | Allow Null | Determines whether allow the widget to have no value. Checked (default): The widget allows no value. Unchecked: A prompt pops up during data entry validation and submission if the widget has no value. |
Error Tip | This setting item appears when Allow Null is unchecked, allowing you to customize the prompt message. The default message is: "Can not be null." | |
Filling Rule | Includes rules that need to be met when you enter values in a widget. An error message pops up if the rules are not met. The following shows three supported validation rules: 1. None (default): No validation rules 2. Length: You can customize the minimum and maximum length of passwords. 3. Custom: You can customize validation rules through regular expressions. For details, see Regular Expression. | |
Coords & Size | Widget Location | Includes the widget location (changed based on the horizontal and vertical coordinates) on the parameter panel. The coordinate is automatically displayed based on the widget location. |
Widget Size | Includes the widget size. You can resize the widget by changing the Width and Height values. You can also hover your cursor to the widget boundary and drag the boundary until the widget reaches the desired width and height. |
Event
You can add events for the widget on the Event tab page to achieve certain effects. The password widget supports four types of events : After Initialization, Before Editing, After Editing, and After Exiting Edit.
After selecting an event type, you can add the event content. The event response methods supported by the password widget include JavaScript, Summit to Database, Send Email, Export Event, and Mobile Pop-up.
Select a corresponding event response method.
Mobile Terminal
Allow One-Click Clearance can be enabled for the password widget on mobile terminals.
Advanced:
Allow One-Click Clearance: allows you to delete the entered content with one click.
Allow Password Display: allows you to display the entered content.