NAME
PDF::Make::Builder::Form::Field::Text - Text input form field
SYNOPSIS
$b->add_field(
type => 'text',
name => 'email',
label => 'Email Address',
w => 300,
default_value => 'user@example.com',
);
# Multiline
$b->add_field(
type => 'text',
name => 'comments',
label => 'Comments',
w => 400,
h => 80,
multiline => 1,
);
# Password
$b->add_field(
type => 'text',
name => 'password',
label => 'Password',
password => 1,
);
PROPERTIES
Inherits all properties from PDF::Make::Builder::Form::Field, plus:
multiline(Bool, default 0) - Allow multiple lines of textpassword(Bool, default 0) - Mask input charactersmax_length(Int) - Maximum number of characters