NAME

PDF::Make::Builder::Form::Field::Combo - Dropdown combo box form field

SYNOPSIS

$b->add_field(
    type       => 'combo',
    name       => 'country',
    label      => 'Country',
    w          => 200,
    options    => ['US', 'UK', 'Canada', 'Australia'],
);

# With separate display/export values
$b->add_field(
    type       => 'combo',
    name       => 'priority',
    label      => 'Priority',
    options    => [
        ['Low',    'low'],
        ['Medium', 'med'],
        ['High',   'high'],
    ],
);

PROPERTIES

Inherits all properties from PDF::Make::Builder::Form::Field, plus:

options (ArrayRef) - Dropdown options. Each element is either a string (used as both display and export value) or an ArrayRef of [display, export_value].

SEE ALSO

PDF::Make::Builder::Form::Field::Listbox, PDF::Make::Builder::Form::Field, PDF::Make::Builder