Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • getPackageFields
  • getAdminAddFields
  • getClientAddFields
  • getAdminEditFields
  • getClientEditFields

Creating ModuleFields

Creating fields using the ModuleFields class allows you to define a set of input fields that may be displayed in a variety of contexts, without worrying about how those fields are contained. There are three aspects of creating a field, described below, that include: creating the field label, creating the field, and attaching the field to the label.

...

Info
titleMultiple tooltips may be created per label

... but that would be silly.

...


Complex Fields

Blesta supports ModuleFields up to two levels deep. This allows you to easily create a set of checkboxes or radio buttons associated with a single field.

...