logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Embperl::Form::Control::display - 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 'display'.

       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.

       value2text

       Will run the value prefixed with the given paramenter through convert_text, so it can be translated.

Name

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

See Also

perl(1), Embperl, Embperl::Form

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

Synopsis

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

See Also