---
name: "Embperl::Form::Control::addremove"
section: "3pm"
platform: "linux"
package: "libembperl-perl"
version: "2.5.0-17"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/Embperl::Form::Control::addremove"
---

# Embperl::Form::Control::addremove(3pm)

A control to add and remove items from two select boxes inside an Embperl Form

## 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 at embperl dot org)

## See Also

[**perl**(1)](/perl/1.md), Embperl, Embperl::Form
