Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Enumerates the choice values of a combo box, list box, or radio button.

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


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 get. Can be Value, Selected or ExpValue. "Value"


Returns OK on success or error on failure.


Enumerates the choice values of a combo box, list box, or radio button.
If the field is a check box, the parameter ValIndex will be ignored and the export value and selectedstate are returned.
To enumerate the choice values of a combo box or list box call GetFieldExpValCount() to determine the number of available values. The parameter ValIndex can then be used to access each value / export value pair within the array.
Beginning with PDF 1.5 choice values of combo and list boxes can be in Unicode format. Because Unicode strings are not supported by this function the function DynaPDF.GetFieldChoiceValue should be used to enumerate choice values of these field types.
The parameters Value, ExpValue, and Selected require variables so that the values can be set by the function. To change a choice value of a combo box or list box call the function DynaPDF.SetFieldExpValue.

See also GetFieldExpValueEx function in DynaPDF manual.

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014

DynaPDF.GetFieldExpValue - DynaPDF.GetFieldFlags