<we:userInput type="textarea">
Since version: 2.2.0.0 | Requires endtag: no
Description
This tag is used to generate a multi-line input field for front end input.
Specific
This tag may only be used between the start and end of <we:form type="document"> or <we:form type="object"> tags.
Attributes
type
Default value: - | since version: - | required: yes
Allowed values:
- textarea
name
Default value: - | since version: 2.2.0.0 | required: yes
Set this attribute to a unique name within the webEdition document.
property
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to "true" to refer to a property of the webEdition document/object. Otherwise the tag refers to the webEdition document/object fields defined in the template/class. Some possible properties of a webEditon document are: DocType, Category, IsSearchable, Extension, Published, IsDynamic, ParentID, ParentPath, Text, Filename, Path, CreationDate, ModDate, Owners, OwnersReadOnly, CreatorID, ModifierID, RestrictOwners.
Allowed values:
- true
- false
editable
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to "true" to generate an editable field. Set it to "false" to display a value which is not editable.
Allowed values:
- true
- false
value
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to a default value.
cols
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the number of columns desired in the input area.
rows
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the number of rows desired in the input area.
autobr
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to "true" to display a checkbox at the top of the multi-line input field, labeled "Auto-BR". Use this checkbox to activate and deactivate the auto-break function. When auto.break is turned on, each press of the Enter/Return button on your keyboard generates a <BR> tag in the HTML source. If you set this attribute to "false", or if you do not set it at all, the auto-br checkbox will not be displayed. In this case, the Enter/Return key does not generate a <BR> in the HTML code. This attribute becomes redundant when "wysiwyg" is set to "true".
Allowed values:
- true
- false
width
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the desired width of the input area. This attribute overrides the "cols" setting.
height
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the desired height of the input area. This attribute overrides the "rows" setting.
bgcolor
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the background colour of the input area.
class
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the name of the style you want to use as defined in a CSS-Stylesheet. This attribute is used to define the appearance of the link.
style
Default value: - | since version: 2.2.0.0 | required: no
Set the value of this attribute to one or more CSS-sytle definitions. Using this attribute you can define the appearance of the link without defining a stylesheet.
hideautobr
Default value: - | since version: - | required: no
Allowed values:
- true
- false
wysiwyg
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to "true" to add command buttons and menus above the text area which enable formatting of the input text (that is, buttons and menus such as those used in many other text processing programs). Set this attribute to "false" or do not set it at all to cause the buttons and menus to be turned off.
Allowed values:
- true
- false
commands
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to a comma seperated list of function names which should be made available if the "wysiwyg" attribute is set to"true". I you do not set this attribute, all functions will be activated. The following functions are available: formatblock,fontname, fontsize,applystyle, bold, italic, underline, subscript, superscript,strikethrough, forecolor, backcolor, justifyleft, justifycenter,justifyright, justifyfull, insertunorderedlist, insertorderedlist,indent, outdent, createlink, unlink, anchor, insertimage,inserthorizontalrule, inserttable, edittable, insertcolumnright,insertcolumnleft, insertrowabove, insertrowbelow, deletecol, deleterow,increasecolspan, decreasecolspan, importrtf, fullscreen, cut, copy,paste, undo, redo, visibleborders, editsource.
The following list of special group names are available:
table Activates all table commands. copypaste Activates copy, paste and cut. color Activates both colour buttons link Activates all link functions. list Activates all list functions. justify Activates all text justification functions. prop Activates all text modification functions. font Activates the font menus.
fontnames
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to a comma separated list of font names that an editor may use.
classes
Default value: - | since version: - | required: no
Syntax
<we:userInput type="textarea" name="attribute" [property="true|false"] [editable="true|false"] [value="attribute"] [cols="attribute"] [rows="attribute"] [autobr="true|false"] [width="attribute"] [height="attribute"] [bgcolor="attribute"] [class="attribute"] [style="attribute"] [hideautobr="true|false"] [wysiwyg="true|false"] [commands="attribute"] [fontnames="attribute"] [classes="attribute"] />