Form::...aylink(3pm)

πŸ“¦
version 2.5.0 Β· 2 versions
, in ubuntu jammy

πŸ’– 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 πŸ’–

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 πŸ’€


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