SilverStripe\UserForms\FormField\UserFormsCheckboxSetField
Synopsis
class UserFormsCheckboxSetField
extends CheckboxSetField
{
- // methods
- public string getValidationAttributesHTML()
- public ArrayList getOptions()
- public bool validate()
Hierarchy
Extends
- SilverStripe\Forms\CheckboxSetField
Methods
public
- getOptions() — jQuery validate requires that the value of the option does not contain the actual value of the input.
- getValidationAttributesHTML() — If your project uses a custom UserFormsCheckboxSetField.ss, ensure that it includes `$Top.getValidationAttributesHTML().RAW` so that custom validation messages work For further details see templates/SilverStripe/UserForms/FormField/UserFormsCheckboxSetField.ss
- validate()