API17:JForm::getValue
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JForm::getValue
Description
Method to get the value of a field.
Description:JForm::getValue [Edit Descripton]
Since
Synopsis
public JForm::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 in
libraries/joomla/form/form.php (line 555)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
