You are here

function uc_order_select_form in Ubercart 6.2

Same name and namespace in other branches
  1. 5 uc_order/uc_order.module \uc_order_select_form()

Creates a textfield box to select an order by ID on the order overview screen.

See also

uc_order_select_form_submit()

1 string reference to 'uc_order_select_form'
uc_order_admin in uc_order/uc_order.admin.inc
Displays the main order admin screen, an overview of all received orders.

File

uc_order/uc_order.admin.inc, line 598
Order administration menu items.

Code

function uc_order_select_form() {
  $form['order_id'] = array(
    '#type' => 'textfield',
    '#title' => t('View order number'),
    '#size' => 10,
    '#maxlength' => 10,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('View'),
    '#attributes' => array(
      'style' => 'display: none;',
    ),
  );
  return $form;
}