Embperl::Form::Control::displaylink - A control to display links inside an Embperl Form
{ type => 'displaylink', text => 'blabla', link => ['ecos', 'bb5000'], href => ['http://www.ecos.de', 'http://www.bb5000.info'] }
Used to create a control which displays links inside an Embperl Form. See Embperl::Form on how to specify parameters.
Needs to be set to 'displaylink'.
Will be used as label for the text display control.
Arrayref with texts for the links that should be shown to the user
Arrayref with hrefs
%%<name>%% is replaced by $fdat{<name>}
Arrayref, if a value is given for the link, the value will be used as javascript function which is executed onclick. href will be pass as argument.
Arrayref with targets
If set the texts from the link parameter will not be passed thru convert_text
G. Richter (richter at embperl dot org)
perl(1), Embperl, Embperl::Form
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Embperl
CPAN shell
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.