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
| Name | Type | Required | Description |
|---|---|---|---|
| itemType | string | Yes | The type of item whose rules you wish to generate |
| configuration | struct | Yes | The saved configuration for the item whose rules you wish to generate |