JFormField::setup
Method to attach a JForm object to the field.
Signature
public function setup(SimpleXMLElement
$element,
[mixed
$value = null,
[string
$group = null]] )
Parameters
-
$element
- The SimpleXMLElement object representing the <field /> tag for the form field object.
-
$value
- The form field value to validate.
-
$group
- The field name group control value. This acts as as an array container for the field.
Returns
- boolean
- True on success.