
Using Group Input Types
Use
The input types
List box and Radio button combine two or more fields into a group. All fields with the same group name belong to one group and must have the same input type (list box or radio button).On the Web form, the user can choose one option from each group (see:
Input Elements).Prerequisites
The text node must have the text type
Text element or Text module.Procedure

You can also define the field in the global definitions. However, it is better to define it in the form interface because you can pass the group name directly to the BSP application from there.

This group name is valid not only within the text node but also in the entire form. You can therefore use several text nodes for the fields of a group.

If you want to use a list box or a group of radio buttons for each line within a table, you have to change the group name dynamically. For example, you can assign the index of a table line to the group name field. You can then access this information again in the BSP application (see:
Options Within the List Box
In a group of list box fields, the value of a field corresponds to the text of an option in the list box. Therefore, you have to assign this text to the field before you display the field.

You cannot create ABAP text elements within a Smart Form. To enable texts of list box fields to be translated, you have to create the ABAP text elements in the application program and pass the texts at the form interface.
Result
In
XSF output, Smart Forms marks the fields you selected as input fields. In HTML output, these fields become HTML input fields.
See also: