class UserDefinedForm extends Page (View source)

Properties

protected array $fieldsFromTo

Temporary storage of field ids when the form is duplicated.

Methods

public
getCMSFields()

No description

public
FilteredEmailRecipients($data = null, $form = null)

Allow overriding the EmailRecipients on a DataExtension so you can customise who receives an email.

public
getFormOptions()

Custom options for the form. You can extend the built in options by using updateFormOptions()

public
string
getErrorContainerID()

Get the HTML id of the error container displayed above the form.

public
requireDefaultRecords()

No description

public
getCMSValidator()

Validate formfields

Details

FieldList getCMSFields()

No description

Return Value

FieldList

ArrayList FilteredEmailRecipients($data = null, $form = null)

Allow overriding the EmailRecipients on a DataExtension so you can customise who receives an email.

Converts the RelationList to an ArrayList so that manipulation of the original source data isn't possible.

Parameters

$data
$form

Return Value

ArrayList

FieldList getFormOptions()

Custom options for the form. You can extend the built in options by using updateFormOptions()

Return Value

FieldList

string getErrorContainerID()

Get the HTML id of the error container displayed above the form.

Return Value

string

requireDefaultRecords()

No description

getCMSValidator()

Validate formfields