Skip to end of banner
Go to start of banner

BA_getSingleValue (Power Actions)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The use of these routines requires the Power Actions add-on be installed and licensed.

The use of this routine 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 routine. 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

See also

  • No labels