Erstellt einfache Radiobutton-Auswahlelemente.
Pos | Attribut | Typ | Erforderlich | Beschreibung |
---|---|---|---|---|
1 | options | string | Ja | Bestimmt die verschieden Radiobuttons mit kommasepariertem String. Text == Value |
2 | options | array | Ja | Bestimmt die verschieden Radiobuttons assoziativem Array. Key=Value, Text=Value |
3 | onchange | string | Nein | Javascript |
4 | horizontal | boolean | Nein | Horizontale Darstellung |
Der Parameter options kann entweder als String oder Array angegeben werden.
Vorschau
Beispiel
<script><form name="extra">
<div align="center">
<table>
<tr>
<td>
{input version=5 type="radio" name="input_radio" title="Radio" short="Wählen Sie" options.1="Ja" options.2="Nein"}
<br />
</td>
</tr>
</table>
</div>
</form>
<script language="javascript">
{literal}
function do_load()
{
}
function do_unload()
{
window.parent.unload_extra();
}
{/literal}
</script>