$formsgetEntry()

Get a form entry by ID

Available since version 0.4.4.

Usage

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

// usage with all arguments
$array = $forms->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


$forms methods and properties

API reference based on ProcessWire core version 3.0.257

Latest news

  • ProcessWire Weekly #620
    The 620th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
    Weekly.pw / 28 March 2026
  • Handling photo heavy sites in development
    ProcessWire and photo-heavy sites go hand-in-hand. But these sites can also present development challenges, especially when cloning a large site. This post goes into detail about techniques you can use to keep lightweight development sites without all the photo/image overhead.
    Blog / 18 February 2026
  • Subscribe to weekly ProcessWire news

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull