form.attributes.radio = FORM
form.attributes.radio {
	method = post

	# Label test
	10 = FIELDSET
	10 {
		legend = Label test
		10 = RADIO
		10 {
			label = label
		}
		20 = RADIO
		20 {
			label.value = label.value
		}
		30 = RADIO
		30 {
			label = TEXT
			label {
				value = TEXT cObj
			}
		}
	}

	# Layout test
	20 = FIELDSET
	20 {
		legend = Layout test
		10 = RADIO
		10 {
			label = label in front of input (default)
		}
		20 = RADIO
		20 {
			layout (
				<input />
				<label />
			)
			label = label after input
		}
		30 = RADIO
		30 {
			layout = <input />
			value = No label
		}
	}

	# Accesskey
	30 = FIELDSET
	30 {
		legend = Accesskey test
		10 = RADIO
		10 {
			label = This radio button has an accesskey
			accesskey = a
		}
	}

	# Alt
	40 = FIELDSET
	40 {
		legend = Alt test
		10 = RADIO
		10 {
			label = This radio button has an alt attribute
			alt = This is the alt attribute content
		}
	}

	# Checked
	45 = FIELDSET
	45 {
		legend = Checked test
		10 = RADIO
		10 {
			label = checked=1
			checked = 1
		}
		20 = RADIO
		20 {
			label = checked=0
			checked = 0
		}
		30 = RADIO
		30 {
			label = checked=checked
			checked = checked
		}
	}

	# Class
	50 = FIELDSET
	50 {
		legend = Class test
		10 = RADIO
		10 {
			label = This radio button has a class attribute
			class = classAtribute
		}
		20 = RADIO
		20 {
			label = Multiple classes
			class = class1 class2
		}
	}

	# Dir
	60 = FIELDSET
	60 {
		legend = Dir test
		10 = RADIO
		10 {
			label = Dir ltr
			dir = ltr
		}
		20 = RADIO
		20 {
			label = Dir rtl
			dir = rtl
		}
		30 = RADIO
		30 {
			label = Wrong input in dir
			dir = abc
		}
	}

	# Disabled
	70 = FIELDSET
	70 {
		legend = Disabled test
		10 = RADIO
		10 {
			label = disabled=1
			disabled = 1
		}
		20 = RADIO
		20 {
			label = disabled=0
			disabled = 0
		}
		30 = RADIO
		30 {
			label = disabled=disabled
			disabled = disabled
		}
	}

	# Id
	80 = FIELDSET
	80 {
		legend = Id test
		10 = RADIO
		10 {
			label = This radio button has an id attribute and the label a for attribute
			id = radioId
		}
	}

	# Lang
	90 = FIELDSET
	90 {
		legend = Lang test
		10 = RADIO
		10 {
			label = This radio button has a lang attribute
			lang = en-US
		}
	}

	# Name
	100 = FIELDSET
	100 {
		legend = Name test
		10 = RADIO
		10 {
			label = This radio button has a name attribute
			name = radioName
		}
	}

	# Style
	110 = FIELDSET
	110 {
		legend = style test
		10 = RADIO
		10 {
			label = This radio button has a style attribute
			style = border: 1px solid #000000
		}
	}

	# Tabindex
	120 = FIELDSET
	120 {
		legend = Tabindex test
		10 = RADIO
		10 {
			label = This radio button has a tabindex attribute
			tabindex = 1
		}
	}

	# Title
	130 = FIELDSET
	130 {
		legend = Title test
		10 = RADIO
		10 {
			label = This radio button has a title attribute
			title = This is the title text
		}
	}

	# Value
	140 = FIELDSET
	140 {
		legend = Value test
		10 = RADIO
		10 {
			label = This radio button has a value attribute
			value = buttonValue
		}
	}
}