FormBuilderMain::getEntry()

Get a form entry by ID

Available since version 0.4.4.

Usage

// basic usage
$array = $formBuilderMain->getEntry(int $entryID);

// usage with all arguments
$array = $formBuilderMain->getEntry(int $entryID, $form = 0);

Arguments

NameType(s)Description
$entryIDint

The ID of the entry you want to get

$form (optional)FormBuilderForm string int

Form object, name or ID, or omit to detect automatically from entry ID

Return value

array bool

Returns entry array on success or boolean false if not found


FormBuilderMain methods and properties

API reference based on ProcessWire core version 3.0.251