Skip to end of banner
Go to start of banner

gadget_getSingleValue

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 3 Next »

Availability

This routine is available starting with SIL Engine™ 3.0.8.

Syntax

gadget_getSingleValue(argv, label)

Description

Retrieves the value from a text, text area, select list or radio group.


Parameters

Parameter name

Required

Description

argv

Yes

the argv variable

labelYesthe label of the text/text area/select list/radio group

Return type

string


Example

For any field that may contain only a single string type value we may use the gadget_getSingleValue routine. For the following script

gadget_createInput("Enter keyword", "demo");

we may obtain the field's value as in the next code sample:

string res = gadget_getSingleValue(argv, "Enter keyword");
//res = demo


See also

  • No labels