FormBuilderProcessor::renderSubmitKey() method

Render the submitKey in a hidden form field, ready to be output

Usage

// basic usage
$string = $processor->renderSubmitKey();

// usage with all arguments
$string = $processor->renderSubmitKey(string $submitKey = '');

Arguments

NameType(s)Description
$submitKey (optional)string

Supply existing submitKey to only render the input for it

Return value

string


$processor methods and properties

API reference based on ProcessWire core version 3.0.252