---
name: "CGI.selBox"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/CGI.selBox"
---

# CGI.selBox(3kaya)

Create a selection box.

## NAME

CGI::selBox - Create a selection box.

## SYNOPSIS

**HTML selBox(** *String name, Int len, \[String\] opts, String def="", String id="", String extra=""* **)**

## ARGUMENTS

**name** The name of the selector

**len** The size of the selector (use 0 for a drop-down selection box)

**opts** The options for the selector

**def** The default option

## DESCRIPTION

Returns the HTML for a selection box. Note that none of the input values are escaped, so you must ensure that *name* contains no '"' characters, and *opts* contains no values containing '\<' characters.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
