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

DynaPDF.GetFieldExpValCount

The function returns the number of values/export values which are defined for a field.

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

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Field The field index or field name. "FirstName"

Result

Returns number or error.

Description

The function returns the number of values/export values which are defined for a field.
Supported field types are combo boxes, list boxes, radio buttons, and check boxes. If the field is a radio button, the function returns the number of check boxes which are connected with the radio button. This number can be used to access the check boxes of the radio button either with DynaPDF.GetFieldExpValueEx or DynaPDF.SetFieldExpValue. If the field is a check box, the return value is always 1 because check boxes do not support multiple export values. However, this function is normally used to determine the number of available choice values within a combo box or list box because only these field types support multiple choice values. See also DynaPDF.GetFieldExpValueEx.
If the function succeeds the return value is the number of values/export values which are defined for a field.

See also GetFieldExpValCount function in DynaPDF manual.

See also

This function checks for a license.

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


DynaPDF.GetFieldCount - DynaPDF.GetFieldExpValue