Adjust text fields

For form fields defined as a string, a single-line input field is defined.
The element could now be defined as a flow instead of as a string. The user would then obtain a rich text editor and he would have the possibility of integrating further elements into the text, such as graphics, tables or links.

In some cases however, it is not desired to offer this possibility to the user, although a larger input field is to be available to him. Here it makes good sense to adapt the input field.
The following example shows how a single-line input field is turned into several-line input field.

<type name="http://www.getit.de/2007/board/post">
  <item name="Element:comment#TextMode">MultiLine</item>
  <item name="Element:comment#MultiLineRows">5</item>
</type>

 

A further option is to define the field as a password field. This works as follows:

<type name="http://www.getit.de/2007/board/post">
  <item name="Element:comment#TextMode">Password</item>
</type>