SilverStripe\UserForms\Model\UserDefinedForm
Synopsis
class UserDefinedForm
extends Page
{
- // members
- private static string $icon_class = 'font-icon-p-list';
- private static string $description = 'Adds a customizable form.';
- private static string $table_name = 'UserDefinedForm';
- private static string $controller_name = UserDefinedFormController::class;
- // Inherited methods from UserForm
- public FieldList getCMSFields()
- public ArrayList FilteredEmailRecipients()
- public FieldList getFormOptions()
- public string getErrorContainerID()
- public void getCMSValidator()
Hierarchy
Members
private
- $controller_name — string
- $description — string
- $icon_class — string
- $table_name — string
protected
- $fieldsFromTo
—
array
Temporary storage of field ids when the form is duplicated.
Methods
Inherited from SilverStripe\UserForms\UserForm
public
- FilteredEmailRecipients() — Allow overriding the EmailRecipients on a {@link DataExtension} so you can customise who receives an email.
- getCMSFields()
- getCMSValidator() — Validate formfields
- getErrorContainerID() — Get the HTML id of the error container displayed above the form.
- getFormOptions() — Custom options for the form. You can extend the built in options by using {@link updateFormOptions()}