API17:JForm::getValue
From Joomla! Documentation
JForm::getValue
Description
Method to get the value of a field.
public function getValue (
$name
$group=null
$default=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | The name of the field for which to get the value. | |
| $group | string | null | The optional dot-separated form group path on which to get the value. |
| $default | mixed | null | The optional default value of the field value is empty. |
- Returns mixed The value of the field or the default value if empty.
- Defined on line 557 of libraries/joomla/form/form.php
- Since

See also
JForm::getValue source code on BitBucket
Class JForm
Subpackage Form- Other versions of JForm::getValue
User contributed notes
Code Examples