Update cookies preferences
Promotic

GetItem - method of the PmForm object

Description:
Returns Pmf object (i.e. existing form item).
Syntax:
Object GetItem(String sId, [Long nAttr])
Parameters:
sId(String) Pmf object identifier. The value was entered in the sType parameter when creating the object by the PmForm.CreateItem method.
nAttr[optional] (Long) It allows to change the behavior of the method.
0 (default) - Default behavior.
1 - When referencing the non-existing object, the global error of the INFO system will not be generated.
Return value:
Returns Pmf object that represents form item.
Note:
This method is also functional in Web panels.
See also:
Example1:
JavaScriptSelect and copy to clipboard

var oItem = oForm.GetItem("sId");

History:
Pm8.03.08: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.