|
Element "zpro > ProcessForm > ProcessBlock > ComboEditBox" |
|
|
(Since version 5.2) ComboEditBox element allows to select one of the listed options or enter a new value. In that sense it is different than the regular ComboBox element.Additionally the finding and selecting the desired option is easier with this element by utilizing its locating or filtering functionality. When the process form that this element is in is submitted, two parameters are included into the request.
Properties Associated Field Name The name of the parameter that will contain the associated value. Associated Field Value The initial value for the associated field. Source ComboBox It is possible to make use of the options of another combobox if its html id is specified in this property. This feature is useful if the ComboEditBox is located in a repeating process block and the number of the options are many. For such cases referring to the options of an combobox (probably a hidden one) defined outside the repeating block is better idea than repeating the same set of options for each record and therefore increasing the size of the HTML document. Open On Defines the method to open the drop-down box. The choices:
Selection Type The options matched as characters typed into the ComboEditBox are displayed in the drop-down box and one of the options marked as selected. The choices for selecting the options are:
Search This property defines how to match the options with the entered characters. The choices are:
Drop-down Box Number Of Visible Options Defines the number of the options to be shown in the drop-down box. To see the others the box needs to be scrolled with mouse or with up/down arrow keys. Width The width of the drop-down box in pixel. Event Handlers On Focus Option The name of the Javascript handler function to be called each time an option got focus. The function receives an object that has the properties text, value and node. Example Code:
On Change The name of the Javascript handler function to be called when the value of this field changes. The function receives the handle of ComboEditBox object. Example Code:
Validation Required Options: 1. None. It is not obligatory to enter a value to the input field 2. Value. A value must be given into the input field. 3. Value and the Associated Value. A value must be given into the input field and there has to be an associated value with the entered value. 4. Associated Value. It is not obligatory to enter a value to the input field. However if a value is entered into the input field there has to be an associated value with it. 5. Value without an Associated Value. A value must be given into the input field and there must not be an associated value with it. This option is typically used to force the users to enter brand new values. Custom Validation Function Validation Error Handler
See Other Input Elements.
|