Radios examples

default

Have you changed your name?

This includes changing your last name or spelling your name differently.

inline

Have you changed your name?

This includes changing your last name or spelling your name differently.

with disabled

Have you changed your name?

This includes changing your last name or spelling your name differently.

with legend as page heading

use optional headingLevel param to set if h1, h2 h3...

Which part of the Housing Act was your licence issued under?

Select one of the options below.

with a medium legend

Which part of the Housing Act was your licence issued under?

Select one of the options below.

with a divider

How do you want to sign in?

or

with hints on items

How do you want to sign in?

You’ll have a user ID if you’ve registered for Self Assessment or filed a tax return online before.

You’ll have an account if you’ve already proved your identity with either Barclays, CitizenSafe, Digidentity, Experian, Post Office, Royal Mail or SecureIdentity.

with hasDividers

How do you want to sign in?

Please, choose the right answer.

You’ll have a user ID if you’ve registered for Self Assessment or filed a tax return online before.

You’ll have an account if you’ve already proved your identity with either Barclays, CitizenSafe, Digidentity, Experian, Post Office, Royal Mail or SecureIdentity.

with classes applied in items

How do you want to sign in?

You’ll have a user ID if you’ve registered for Self Assessment or filed a tax return online before.

You’ll have an account if you’ve already proved your identity with either Barclays, CitizenSafe, Digidentity, Experian, Post Office, Royal Mail or SecureIdentity.

without fieldset

with fieldset and error message

Have you changed your name?

Error: Error: Please select an option

with very long option text

Maecenas faucibus mollis interdum?

Nullam id dolor id nibh ultricies vehicula ut id elit.

Error: Error: Lorem ipsum dolor sit amet, consectetur adipiscing elit.

with conditional items

How do you want to be contacted?

inline with conditional items

How do you want to be contacted?

with conditional item checked

How do you want to be contacted?

with optional form-group classes showing group error

How do you want to be contacted?
Error: Problem with input

small