Form::...aylink(3pm)
π NAME π
Embperl::Form::Control::displaylink β a control that displays links inside an Embperl Form, bestie π
β¨ SYNOPSIS β¨
okay so here's the vibe, literally copy-paste this:
{
type => 'displaylink',
text => 'blabla',
link => ['ecos', 'bb5000'],
href => ['http://www.ecos.de', 'http://www.bb5000.info']
}
π¦ DESCRIPTION π¦
So you wanna create a control that displays links inside an Embperl Form? say less, that's literally what this does π«Ά
If you wanna know how to specify parameters, go check out Embperl::Form β it's giving main character energy and it has the answers.
π PARAMETER π
type
Needs to be set to 'displaylink'. no cap, that's the one π₯
text
This is what gets used as the label for the text display control π
link
An arrayref holding the texts for the links that should be shown to the user β¨
href
An arrayref with hrefs, periodt π
%%<name>%% is replaced by $fdat{<name>} β yes queen, that substitution is real πΈ
open
An arrayref. If a value is given for the link, that value will be used as a javascript function which is executed onclick. The href will be passed as argument π
%%<name>%% is replaced by $fdat{<name>} β again, iconic behaviour π
target
An arrayref with targets, we love a good target π
showtext
If set, the texts from the link parameter will not be passed thru convert_text β not me pointing out the not, but yeah, it skips that step π
π Author π
G. Richter (richter at embperl dot org) β thank u for ur service legend π«Ά
π See Also π
perl(1)EmbperlEmbperl::Form
okay bestie that's the whole page fr fr π go forth and display those links
this was perl v5.34.0, dated 2022-02-06, and it lives in the Form::...aylink(3pm) era of User Contributed Perl Documentation β mwah, slay, bye πβ¨
π¦ where this page comes from
- ubuntu jammy: libembperl-perl 2.5.0-16build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms