Simple Input TypesIn 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
<input name = "Feldname" type ="(je nach Eingabetyp)"
size = "Feldlänge" maxlength = "Maximallänge"
value = "(je nach Feldwert)" readonly (wenn Nur Anzeigen angekreuzt ist)>
Note
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 |
|
|
text |
|
|
submit |
|
|
Reset |
|
|
hidden |
(Text field without output) |
You use the hidden input type to pass data that you need to further evaluate the HTML form.
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).