form_submit($value, $name = 'op', $attributes = NULL)
drupal/includes/common.inc, line 1409
Format a form submit button.
$value Both the label for the button, and the value passed to the target page when this button is clicked.
$name The internal name used to refer to the button.
$attributes An associative array of HTML attributes to add to the form item.
A themed HTML string representing the button.
| Name | Description |
|---|---|
| Form generation | Functions to enable output of HTML forms and form elements. |
| Input validation | Functions to validate user input. |
function form_submit($value, $name = 'op', $attributes = NULL) {
return form_button($value, $name, 'submit', $attributes);
}