form_item($title, $value, $description = NULL, $id = NULL, $required = FALSE, $error = FALSE)
drupal/includes/common.inc, line 1054
Format a general form item.
$title The label for the form item.
$value The contents of the form item.
$description Explanatory text to display after the form item.
$id A unique identifier for the form item.
$required Whether the user must fill in this form element before submitting the form.
$error An error message to display alongside the form element.
A themed HTML string representing the form item.
| Name | Description |
|---|---|
| Form generation | Functions to enable output of HTML forms and form elements. |
| Input validation | Functions to validate user input. |