Allows a user to get the value of the control as given on the specified page.
Smartcode
Syntax
GetValueFromControl(controlname, variable)
Parameters
- variable(Required) – Name of the variable
- String – A-Z, 0-9, Special characters(except #,$)
- Length – 50 Characters
- controlname(Required) – Name of the control from which value is to be got
Directcode
Syntax
Orefuncs.GetValue(controlname,state-this.state)
Parameters
- controlname(Required) – To find control name
- state-this.state(Required) – To get and update the value of the corresponding control
Example
var Sample=GetvaluefromControl(‘Image_2’);