getItemTypeSpecificRulesForFormField()

Overview

public array function getItemTypeSpecificRulesForFormField(
      required string itemType     
    , required struct configuration
)

Returns an array of validation rules generated by a custom rule generator for the given item type, if present.

Arguments

NameTypeRequiredDescription
itemTypestringYesThe type of item whose rules you wish to generate
configurationstructYesThe saved configuration for the item whose rules you wish to generate