
Digression: HTML Forms
To allow HTML forms to be evaluated meaningfully, they must contain a
Submit button. When a user clicks this button, the form data is sent to a target URL that you specify in the ACTION attribute:<FORM METHOD="POST" ACTION="GET_VALUES.HTM">
...
</FORM>

A URL must not necessarily be another HTML page. It can also be a CGI script or a Java servlet.
SAP Smart Forms uses the
POST method to pass the form data. Thus the name/value pairs for the input fields created by HTTP are not appended to the target URL but passed in the HTTP body. Besides, according to the HTML conventions, not all entries on the HTML form are passed as name/value pairs:Examples for Passing Values of Simple Input Elements
|
HTML Form |
Name/Value Pair According to HTML Convention | |||
Input Type |
Field Name |
Value |
Name |
Value |
Text |
TEXTFIELD |
SAP |
TEXTFIELD |
SAP |
Checkbox |
MYFLAG |
(marked) |
MYFLAG |
|
Reset |
S_RESET |
(clicked) |
(no value) |
(no value) |
Hidden |
S_HIDDEN |
SAP |
S_HIDDEN |
SAP |
Submit |
S_BUTTON |
Ok |
S_BUTTON |
Ok |
Examples for Passing Values of Complex Input Elements
|
HTML Form |
Name/Value-Pair According to HTML Convention | |||
Input Type |
Group |
Name of Selected Field |
Name |
Value |
Radiobutton |
RADIO |
OPTION2 |
RADIO |
OPTION2 |
Listbox |
LIST |
ENTRY1 |
LIST |
ENTRY1 |
The following rules apply:

For an introduction to HTML visit