---
name: "Embperl::Form::Control::display"
section: "3pm"
platform: "linux"
package: "libembperl-perl"
version: "2.5.0-17"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/Embperl::Form::Control::display"
---

# Embperl::Form::Control::display(3pm)

A text display control inside an Embperl Form

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

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

### PARAMETER

*type*

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.

## Author

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

## See Also

[**perl**(1)](/perl/1.md), Embperl, Embperl::Form
