$formsgetFileKey()

Generate a transportable key for the given filename within a form and entry

Usage

$bool = $forms->getFileKey($formID, int $entryID, string $filename);

Arguments

NameType(s)Description
$formIDint string FormBuilderForm
$entryIDint

Or specify 0 if not yet an active entry

$filenamestring

Return value

bool string

Returns false on failure or string on success


$forms methods and properties

API reference based on ProcessWire core version 3.0.251