Form::...remove(3pm)

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

πŸ’– Form::...remove(3pm) β€” the manual page, but make it make sense πŸ’–

okay so bestie, you're reading the perl doc for Embperl::Form::Control::addremove, and it lives under the manual name Form::...remove(3pm) (yes the title got truncated, it's giving ✨mystery✨, we move on). It's user contributed Perl documentation, so it's one of us fr fr. Let's get into it 🫢


✨ NAME ✨

Embperl::Form::Control::addremove β€” a control to add and remove items from two select boxes inside an Embperl Form πŸŽ€

like... it's a little add/remove machine between two lists, no cap.


🌸 SYNOPSIS 🌸

  {
  type         => 'addremove',
  name         => 'foo',
  src          => 'src_select_name',
  dest         => 'dest_select_name',
  removesource => 1,
  }

that's the whole vibe right there πŸ‘‘ copy it exactly, don't freestyle it.


πŸ’… DESCRIPTION πŸ’…

A control to add and remove items from two select boxes. See Embperl::Form on how to specify parameters. iykyk πŸ“š


πŸ¦‹ PARAMETER πŸ¦‹

okay here come the parameters, one by one, no skipping, we're doing all of them πŸ’œ

  • type β€” needs to be 'addremove'. that's literally the whole job of this one. it's giving "required" energy.
  • name β€” specifies the name of the addremove control. that's its name. iconic of it honestly.
  • src β€” gives the name of the select box which serves as source of the data items. the origin story πŸ’« the place the items come from.
  • dest β€” gives the name of the select box which serves as destionations of the data items. (yes the original says "destionations", we are keeping that typo verbatim because facts don't change πŸ’€) it's where the items go to live.
  • removesource β€” if set to a true value the items will be removed from the source select box and move to the destination box. if set to false, the items will be copied. so like… true = rip it out of src and yeet it to dest, false = make a lil duplicate and leave the original where it is. choose wisely bestie πŸ™ˆ

πŸ’œ Author πŸ’œ

G. Richter (richter at embperl dot org) β€” thank you king, we stan 🌈


⭐ See Also ⭐

go read those too, they're the supporting cast πŸ’–


and that's the whole page, you ate it, periodt. this doc is perl v5.34.0, dated 2022-02-06, and it says bye at the bottom of the original in that tiny Form::...remove(3pm) footer β€” so consider this your cute lil sign-off: πŸŽ€ v5.34.0, 2022-02-06, Form::...remove(3pm), slay πŸŽ€

πŸ“¦ where this page comes from