Form::Control::addremove(3)

NAME
Embperl::Form::Control::addremove - A control to add and remove items from two select boxes inside an Embperl Form

SYNOPSIS
  {
  type         => 'addremove',
  name         => 'foo',
  src          => 'src_select_name',
  dest         => 'dest_select_name',
  removesource => 1,
  }

DESCRIPTION
A control to add and remove items from two select boxes See Embperl::Form on how to specify parameters.

  PARAMETER
type

Needs to be 'addremove'

name

Specifies the name of the addremove control

src

Gives the name of the select box which serves as source of the data items

dest

Gives the name of the select box which serves as destionations of the data items

removesource

If set to a true value the items will be removed from the source select box and move to the destionation box. If set to false, the items will be copied.

Author
G. Richter (richter@dev.ecos.de)

See Also
perl(1), Embperl, Embperl::Form