Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

DynaPDF.GetFieldChoiceValue

Retrieves a choice value of a combo or list box.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetFieldChoiceValue"; PDF; Field; ValIndex; Selector )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"
ValIndex The value index. 0
Selector Which value to return. Can be ExpValue, ExpValueLen, Value, ValueLen or Selected. "Value"

Result

Returns value or error.

Description

Retrieves a choice value of a combo or list box.
The parameter Field must be a valid handle of a combo or list box. ValIndex is the array index of the choice value to be retrieved. Call DynaPDF.GetFieldExpValCount to determine how many choice values are available in the combo or list box.
Choice values can be inherited from a parent group field. This is the case if the field is part of a field group. See "Interactive Forms/What is a Field Group?" Section in DynaPDF help file for further information.

See also GetFieldChoiceValue function in DynaPDF manual.

See also

Created 18th August 2014, last changed 27th May 2017


DynaPDF.GetFieldBorderWidth - DynaPDF.GetFieldColor

Feedback: Report problem or ask question.