Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Embperl::Form::Control::show - A text display control inside an Embperl Form

Author

       G. Richter (richter at embperl dot org), A. Beckert (beckert@ecos.de)

Description

       Used to create a display only control inside an Embperl Form.  See Embperl::Form on how to specify
       parameters.

   PARAMETERtype

       Needs to be set to 'show'.

       text

       Will be used as label for the text display control.

       value

       value to display. If not given $fdat{<name>} will be used.  If the data given within value is an
       arrayref, every element will be displayed on a separate line.

       hidden

       If set, an appropriate hidden input field will be created automatically.

       name

       Will be used as name for the hidden input field.

       split

       Splits the value into an array at \t if set and displays every array element on a new line.

       splitlines

       Splits the value into an array at \n if set and displays every array element on a new line.

Name

       Embperl::Form::Control::show - A text display control inside an Embperl Form

See Also

perl(1), Embperl, Embperl::Form

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

Synopsis

         {
         type   => 'display',
         text   => 'blabla',
         hidden => 1,
         name   => 'foo',
         split  => 1
         }

See Also