This example shows the syntax of a radio button:
Radio button
Guide word for variable |
RDB_SEX |
Type |
ALPHA |
Length |
1 |
Value if button selected |
M |
Label (right) |
Male |
<adelia:radio type="ALPHA" length="1" >
<input type="radio" name="RDB_SEX" id="RDB_1" value="M"/>
Male
</adelia:radio>
Second choice (Value if button selected: F ; label: Female):
<adelia:radio type="ALPHA" length="1">
<input type="radio" name="RDB_SEX" id="RDB_2" value="F"/>
Female
</adelia:radio>
Note: Radio buttons having the same identifier (name attribute) must have the same type.
Back to the radio button definition