getItemDataFromRequest()
Overview
public any function getItemDataFromRequest(
required string itemType
, required string inputName
, required struct requestData
, required struct itemConfiguration
)
Attempts to retrieve the submitted response for a given item from the form request, processing any custom preprocessor logic that is defined for the item type in the process.
Arguments
Name | Type | Required | Description |
---|---|---|---|
itemType | string | Yes | The type ID of the item |
inputName | string | Yes | The configured input name of the item |
requestData | struct | Yes | The submitted data to the request |
itemConfiguration | struct | Yes | Configuration data associated with the item |