Skip to main content
Version: 5.2 (upcoming)

Useractive Form Field

The useractive form field type provides a list box of statuses. This field extends PredefinedlistField.

  • type (mandatory) must be redirectstatus.
  • name (mandatory) is the unique name of the field.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description* (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the field.
  • required (optional) if set to true, the first field option should be empty, see last example.

Implemented by: libraries/src/Form/Field/UseractiveField.php

Example XML parameter definition​

<field
name="isuseractivate"
type="useractive"
label="Choose"
description=""
/>

Based on the source code this returns the following entries in a list:
Activated - COM_USERS_ACTIVATED
Unactivated - COM_USERS_UNACTIVATED