The Form class / ui.Form methods |
Search for a child node in the form.
findNode( type STRING, name STRING ) RETURNING result om.DomNode
The findNode() method allows you to search for a specific DOM node in the abstract representation of the form. You search for a child node by giving its type and the name of the element (i.e. the tagname and the value of the 'name' attribute).
The method returns the first element found matching the specified type (tagname) and node name. Form element names must be unique for the same type of nodes, if you want to distinguish all elements.
DEFINE n om.DomNode, f ui.Form INPUT BY NAME ... ... LET f = DIALOG.getForm() LET n = f.findNode("Label", "lb_name") ...