GetFormFieldKidTempIndex

Form fields

Description

Returns a temporary index for the item fields (kids) of a radio button or checkbox form field group. An index of 1 will select the first radio or checkbox in the group, 2 the second and so on.

The number of kids can be determined by calling GetFormFieldKidCount. This temporary index can be used with the regular form field functions such as GetFormFieldTabOrder and GetFormFieldValue.

If you need to update the subname for a choice field then you should use

SetFormFieldSubChoice instead.

Syntax

Delphi

function TPDFlib.GetFormFieldKidTempIndex(Index, KidIndex: Integer): Integer;

ActiveX

Function PDFlib::GetFormFieldKidTempIndex(Index As Long, KidIndex As Long) As Long

DLL

int DLGetFormFieldKidTempIndex(int InstanceID, int Index, int SubIndex);

Parameters

IndexThe index of the radio-button form field SubIndex The index of the sub-field. The first sub-field has an index of 1.