Info Panel
Info Panel is an item with its own header and HTML content as body text that displays textual alerts, explanations, or information.
- Containers & More > Information Fields > InfoPanel
The Info Panel's Display Name Key or Plain Label will appear as the Info Panel's Header Text. The Info Panel's value will appear as body text. To set a value for the Info Panel item, use the fm.setValue() method. For example,
canvas.ns("canvas.form.listeners"); canvas.form.listeners.TandC_Form = Class(canvas.Observable, { constructor: function(config) { this.fm = config.fm; }, registerHandlers: function() { this.fm.registerHandler(CFEC.POST_FORM_RENDERER, function(fm, event, fieldName, value) { fm.model.setValue('TERMS',"I / We declare that the information provided herein above is accurate and complete."); // Here, TERMS is the Info Panel item ID. }) } }); CFLR.registerListener("FORM_TC", canvas.form.listeners.TandC_Form); // Here, FORM_TC is the form ID.
The following table provides information about the properties that are applicable to this form item:
# | Property | Description | Sample Values |
---|---|---|---|
1 | Form ID | Unique ID of the Form on which you want to place the Form Item. | FRM_AUDIT_REPORT |
2 | Item ID | Unique ID to the Panel. | AUDIT_RPT_PANEL |
3 | Item Type | To identify the item type in a form. | INFOPANEL |
4 | Channel | Assigns the form item compatibility for various devices | Desktop / Tablet / Mobile |
5 | Bundle Key | Name of the key associated with the property file which provides the localized label text for the current form item. | Common |
6 | Plain Label | Text entered in Plain Label field appears as the label of the form item without the resource bundle key translation. 18.1: If you are using the property files, leave the Plain Label field as blank. Display Name Key is the property-driven label key for the form item. 19.1: In Canvas 19.1, the Display Name Key field is a configuration-driven label key for the form item. See About Display Name Key and Plain Label from 19.1 and Managing Display Names for Forms for more information. | |
7 | Display Name Key | CONVERSION RATE DETAILS | |
8 | Visibility | Selected: Shows the form item on the Form. | Selected |
9 | Selected: Allows printing the form item while printing the form. | Selected | |
10 | Column Span | Occupies the specified number of item spaces horizontally for the current item. | 1 |
11 | Add Icon |
| Selected |
12 | Settings Menu: Total Number of Columns within a container | Arranges the form items within the form in the given number of columns. | 2 |
13 | Clone | Enables you to create a duplicate of the selected form item along with its applicable properties except for the Item ID. | 2 |
Switch property is not applicable for this form component.