control.findByName()
- Last UpdatedJun 25, 2024
- 1 minute read
Use findByName() method to find a control with a specific name on the form.
Syntax
control.findByName(controlname);
Parameters
|
Parameter |
Description |
|---|---|
|
controlname |
Name of the control to search on the form. |
Return Value
This method returns a control object.
Example
// Set a value for the Text control.
control.findByName("Employee Name").value = "John Dow";