Syntax documentationSimple 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>:

Syntax Syntax

  1. <input name = "Feldname" type ="(je nach Eingabetyp)"
    size = "Feldlänge" maxlength = "Maximallänge"
    value = "(je nach Feldwert)" readonly (wenn Nur Anzeigen angekreuzt ist)>
End of the code.

Note Note

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

End of the note.

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.

Example Example

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).

End of the example.