Render a new item for ajax after 'add new' link clicked
Usage
// basic usage
$string = $inputfieldRepeater->renderAjaxNewItem();
// usage with all arguments
$string = $inputfieldRepeater->renderAjaxNewItem(int $cloneItemID = 0, int $cloneToParentID = 0);
Arguments
Name | Type(s) | Description |
---|---|---|
cloneItemID (optional) | int | |
cloneToParentID (optional) | int |
Return value
string
InputfieldRepeater methods and properties
API reference based on ProcessWire core version 3.0.236