Creating Input Fields

Use

Authors use input fields to enter content.

Procedure

  1. Use Drag&Drop to pull data schema elements or document properties onto the Edit form.

    You can select the following kinds of input fields:

    • Single-line input field ( - text field)

    • Multi-line input field ( - text area)

      Allows you to create text without formatting.

    • HTML editor ( - for more information, see HTML Editor )

      You can use the formatting functions of the HTML editor and create Internet links. The enhanced functions of the HTML editor, such as printing, links to Knowledge Management items, or inserting graphics, are not available in XML forms.

    • Single-line input field with input help ( - Browser Control )

    • Timestamp control ( )

  2. Optional: Give the input fields default values.

    You can specify default values for input fields in the following places:

    • Caption property of the control in question

    • Default attribute in the details of the referenced schema element (on the Element tab page).

    The value in the element details overrides the value in the control properties.

    You can specify default values using the following alias names in the Caption property of single line and multi-line input fields as displayed below.

Alias name

Description

$date

Current date at the time of creation in the format YYYY-MM-DD.

$locDate

Current date at the point of creation in the country-specific date format of the current user.

$time

Current time at the point of creation in the format HH:MM:SS.

$locTime

Current time at the point of creation in the country-specific format of the current user.

$sap_user

User who is currently logged on

$guid

Globally unique identifier