logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Embperl::Form::Control::displaylink - A control to display links inside an Embperl Form

Author

       G. Richter (richter at embperl dot org)

Description

       Used to create a control which displays links inside an Embperl Form.  See Embperl::Form on how to
       specify parameters.

   PARAMETERtype

       Needs to be set to 'displaylink'.

       text

       Will be used as label for the text display control.

       link

       Arrayref with texts for the links that should be shown to the user

       href

       Arrayref with hrefs

       %%<name>%% is replaced by $fdat{<name>}

       open

       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.

       %%<name>%% is replaced by $fdat{<name>}

       target

       Arrayref with targets

       showtext

       If set the texts from the link parameter will not be passed thru convert_text

Name

       Embperl::Form::Control::displaylink - A control to display links inside an Embperl Form

See Also

perl(1), Embperl, Embperl::Form

perl v5.34.0                                       2022-02-06                    Form::Control::displaylink(3pm)

Synopsis

         {
         type   => 'displaylink',
         text   => 'blabla',
         link   => ['ecos', 'bb5000'],
         href   => ['http://www.ecos.de', 'http://www.bb5000.info']
         }

See Also