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

NameTypeRequiredDescription
itemTypestringYesThe type ID of the item
inputNamestringYesThe configured input name of the item
requestDatastructYesThe submitted data to the request
itemConfigurationstructYesConfiguration data associated with the item