Input & fields

Inputs and fields provide a consistent way for users to enter and manage information across Sharjah Government digital services.

Input & fields

Input fields are fundamental components of any digital interface, serving as the primary means for users to enter and edit information. Well-designed input fields enhance usability, reduce errors, and create a seamless user experience across all government digital services.

Clear labels

Every input field should have a clear, concise label that describes what information is expected. Labels should be positioned consistently across the system.

Validation feedback

Provide immediate, clear feedback on input validation. Show success states for correct entries and error messages that guide users toward resolution.

Error prevention

Design inputs to prevent errors before they occur. Use appropriate input types, helpful placeholder text, and clear formatting guidelines.

Accessibility first

Ensure all input fields are keyboard accessible, work with screen readers, and maintain sufficient color contrast for labels and error states.

Input types

Text input

This field is required

Email input

Phone input

UAE +971

Textarea

Maximum 500 characters

Select dropdown

Input states

Default

Normal

Focus

Active

Success

Valid

Email format is correct

Error

Invalid

Please enter a valid email address

Disabled

Inactive

The radio type

If the user has to choose from a selection of options, and if the options are less than or equal to 5, then use an input with type radio for the selection.

Have you travelled to the UAE earlier?

Have you travelled to the UAE earlier?

The checkbox type

Always prefer the use of checkboxes over a select for multiple option selections. Avoid the use of a multi select. If the choices for a user to select from exceed 10, you must include the option to "Select All"

Have you travelled to the UAE earlier?

Have you travelled to the UAE earlier?

Yes, I have