From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JForm::getValue


Method to get the value of a field.

public function getValue (
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 Joomla 11.1

See also

  • Joomla 11.1 JForm::getValue source code on BitBucket
  • Joomla 11.1 Class JForm
  • Joomla 11.1 Subpackage Form
  • Other versions of JForm::getValue

User contributed notes

Code Examples