Simple Input Types

In the case of simple input types, SAP Smart Forms assigns the attributes of the fields that are specified on the Web Attributes tab page of a text node to the HTML tag <INPUT>:

<input name="field name" type="(depending on input type)"
       size="
field length" maxlength = "maximum length"
       value="(depending on field value)" readonly (if
Display Only is marked)>

The parameters Field Length and Maximum Length are valid only for the input type text.

Input Type

Corresponding Type of the <INPUT> Tag (Attribute type)

HTML Element

Checkbox

Checkbox

Text

Text

Submit

Submit

Reset

Reset

Hidden

Hidden

(Text field without output)

You use the hidden input type to pass data that you need to further evaluate the HTML form.

You supplement an invoice form that states flight bookings with a column that contains a checkbox for each line. To find out which lines the user marked, pass hidden Web fields in each table line, in which you store the key fields of the table line. When evaluating the checkboxes, this allows you to access the corresponding lines (see also: BSP application SF_WEBFORM_02).