Forms: Demo & code
User feedback
User feedback communicates the state of a field or the outcome of a user's interaction with the form.
Default
Text field
Show code Hide code
Input group
Show code Hide code
Predictive list
Show code Hide code
Date
Show code Hide code
Select
Show code Hide code
Checkbox
Show code Hide code
Radio buttons
Show code Hide code
Error
Text Fields
Show code Hide code
Date
Show code Hide code
Select
Show code Hide code
Checkboxes
Show code Hide code
Radio buttons
Show code Hide code
Success
Text Fields
Show code Hide code
Date
Show code Hide code
Select
Show code Hide code
Checkboxes
Show code Hide code
Radio buttons
Show code Hide code
Contextual feedback
Contextual feedback communicates the current state of the subject of the form, rather than the outcome of the user's interaction.
Use an information treatment for relevant status information that the user should know but does not need to act on.
Compact inline alert
Show code Hide code
Standard alert
Concession recorded
This vehicle has a registration concession. Additional charges may apply if ownership is transferred. No action is needed to complete this check.
Show code Hide code
Use a warning treatment when the subject's status requires the user to take action or affects what they can do next.
Compact inline alert
Show code Hide code
Standard alert
Online renewal unavailable
This registration needs changes to its operating conditions. Visit a service centre to renew.
Show code Hide code
A field can show that a value was validated while a separate message explains the subject's status. Only show the valid confirmation when it helps the user.
Valid field with action required
Safety inspection required
This vehicle needs a safety inspection before you can renew the registration.
Show code Hide code