\EditableCampaignMonitorField
Creates an editable field that allows users to choose a list From Campaign Monitor and choose default fields On submission of the form a new subscription will be created
Synopsis
class EditableCampaignMonitorField
extends EditableFormField
{
- // members
- private static string $singular_name = 'Campaign Monitor Signup Field';
- private static string $plural_name = 'Campaign Monitor Signup Fields';
- private static string $defaultFieldType = "CheckboxField";
- private static array $db = ;
- private static array $has_many = ;
- // methods
- public FieldList getCMSFields()
- public NumericField getFormField()
- protected array getOptionsMap()
- protected SS_List getDefaultOptions()
- public Boolean/Result getValueFromData()
- public Boolean getFieldValidationOptions()
- public ArrayList getLists()
- public Array getCustomFields()
Hierarchy
Extends
- EditableFormField
Members
private
- $db — array
- $defaultFieldType
—
array
Set default field type, enabled override via Config - $has_many — array
- $plural_name — string
- $singular_name — string
Methods
protected
- getDefaultOptions() — Returns all default options
- getOptionsMap() — Gets map of field options suitable for use in a form