Wählen Sie Ihre Sprache:

<we:input type="text">

Since version: 1.5.2 | Requires endtag: no

Description

This tag is used to generate a single-row input field in edit mode. When not in edit mode, the input-field is not visible, but its content is.

Attributes

type

Default value: - | since version: - | required: yes

Allowed values:

  • text

name

Default value: - | since version: - | required: yes

Set this attribute to a unique name within the webEdition document.


size

Default value: - | since version: - | required: no

Set this attribute to a value defining the width of the input field.


maxlength

Default value: - | since version: - | required: no

Set this attribute to a value defining the maximum number of characters allowed for the input field.


value

Default value: - | since version: 1.5.2 | required: no

Set this attribute to the predefined text which should appear in the input field.


html

Default value: - | since version: 1.5.2 | required: no

If this attribute is set to "true" or unset, it is possible to write HTML code into the input field. If set to "false", it is not possible to use HTML code, because it gets filtered at the output.

Allowed values:

  • true
  • false

php

Default value: - | since version: 3.0.0.0 | required: no

If this attribute is set to "true" or unset, it is possible to write PHP code into the input field. If set to "false", it is not possible to use PHP code, as it gets filtered at the output.

Allowed values:

  • true
  • false

num_format

Default value: - | since version: 1.5.2 | required: no

Set this attribute to the type of formatting desired. Valid parameters are:

	input number    output number 

German 1000 1.000,00 English 1000 1,000.00 French 1000 1 000,00

Allowed values:

  • german
  • english
  • french

precision

Default value: - | since version: 1.5.2 | required: no

Set this attribute to the desired number of positions after the decimal point.


user

Default value: - | since version: - | required: no

Set this attribute to a list of comma seperated usernames. These are the users permitted to make changes. This attribute requires the User Management (Standard or PRO) Module.


htmlspecialchars

Default value: false | since version: - | required: no

Using htmlspecialchars="true" will change all special chars into HTML entities ("&" is transformed to "&"). If htmspecialchars is "false" or not set, all special chars remain unchanged.

Allowed values:

  • true
  • false

spellcheck

Default value: false | since version: 4.1.0.0 | required: no

Activates spellchecking of the we:input field.

Allowed values:

  • true
  • false

cachelifetime

Default value: 0 | since version: 4.2.0.0 | required: no

With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.


Syntax

<we:input type="text" name="attribute" [size="attribute"] [maxlength="attribute"] [value="attribute"] [html="true|false"] [php="true|false"] [num_format="german|english|french"] [precision="attribute"] [user="attribute"] [htmlspecialchars="true|false"] [spellcheck="true|false"] [cachelifetime="attribute"] />