html options select code example
Example 1: html select
<label for="cars">Choose a car:</label>
<select name="cars" id="cars">
<optgroup label="Swedish Cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="n/a" disabled>unavailable</option>
</optgroup>
<optgroup label="German Cars">
<option value="mercedes" selected>Mercedes</option>
<option value="audi">Audi</option>
</optgroup>
</select>
Example 2: Select Options
Syntax 1 : SELECT-OPTIONS <SO_NAME> FOR <TABLE-FIELD>. "THIS PRINTS TWO INPUT FIELDS (RANGE) WITH EXTENSION TO ENTER MULTIPLE RANGES
Syntax 2 : SELECT-OPTIONS <SO_NAME> FOR <TABLE-FIELD> NO INTERVALS. "THIS PRINTS ONE INPUT FIELD WITH EXTENSION
Syntax 3 : SELECT-OPTIONS <SO_NAME> FOR <TABLE-FIELD> NO-EXTENSION. " THIS PRINTS TWO INPUT FIELDS WITH OUT ANY EXTENSION (CAN NOT ENTER MULTIPLE RANGES)
Syntax 4 : SELECT-OPTIONS <SO_NAME> FOR <TABLE-FIELD> NO INTERVALS NO-EXTENSION .THIS PRINTS ONE INPUT FIELD WITH OUT INTERVALS AND EXTENSIONS