Definition

form_submit($value, $name = 'op', $attributes = NULL)
drupal-4-6/includes/common.inc, line 1409

Description

Format a form submit button.

Parameters

$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.

Return value

A themed HTML string representing the button.

Code

function form_submit($value, $name = 'op', $attributes = NULL) {
  return form_button($value, $name, 'submit', $attributes);
}