BA_getSingleValue
The use of this function requires the Power Actions add-on be installed and licensed.
Description
Gets the value entered or the selected option for the given field label.
Parameters
Return Type
String
For a checkbox it will return "checked" if the checkbox was selected or an empty string if not.
Example
For any field that may contain only a single string type value we may use the BA_getSingleValue function. For the following script
BA_createInput("Enter keyword", "demo", false);
We may obtain the field's value as in the next code sample:
string res = BA_getSingleValue(argv, "Enter keyword");
//res = demo