- property string $label The custom field name to display in the UI (free-form text).
- property string $type The type of data to store in the custom field.
- property \PHPFUI\ConstantContact\Definition\CustomFieldMetadata $metadata
- property \PHPFUI\ConstantContact\Definition\CustomFieldChoiceRequest[] $choices Array of choices for custom fields of type: single_select or multi_select. Maximum number of elements for checkbox and radio display types is 20. Maximum number of elements for a dropdown is 100.
- property int $version Available if data type is data. Displays 1 if using legacy date fields where values are stored as strings. Displays 2 if using new date fields where values are stored as actual dates to support date comparisons and validations.
CloneableInstantiable
| Methods |
| Properties |
| protected static array $fields = ['label' => 'string', 'type' => 'string', 'metadata' => '\PHPFUI\ConstantContact\Definition\CustomFieldMetadata', 'choices' => 'array<\PHPFUI\ConstantContact\Definition\CustomFieldChoiceRequest>', 'version' => 'int'] |
| protected static array $maxLength = ['label' => 50, 'type' => 20, 'choices' => 100] |
| Properties |
| protected static array $fields = ['label' => 'string', 'type' => 'string', 'metadata' => '\PHPFUI\ConstantContact\Definition\CustomFieldMetadata', 'choices' => 'array<\PHPFUI\ConstantContact\Definition\CustomFieldChoiceRequest>', 'version' => 'int'] |
| protected static array $maxLength = ['label' => 50, 'type' => 20, 'choices' => 100] |