en
en
lt
Create New User

Create New User

The “Create New User” form is designed to allow administrators or authorized users to input and submit essential information required to register a new user into the system.


Form Fields

Role (Required)

  • Type: Dropdown/select box.
  • Placeholder: Empty by default.
  • Purpose: Assign a role to the user (e.g., Driver, Administrator, Customer, etc.).
  • Validation: Required (* indicates this).

Email (Required)

  • Type: Text input (email format).
  • Placeholder: email@email.com
  • Purpose: User’s contact email.
  • Validation: Must be a valid email format and required.

Phone Number

  • Type: Text input (with country code prefix).
  • Placeholder: + 12345678900
  • Purpose: Optional secondary contact method.

First Name (Required)

  • Type: Text input.
  • Placeholder: John
  • Validation: Required.

Last Name (Required)

  • Type: Text input.
  • Placeholder: Doe
  • Validation: Required.

Action Button

Save

  • Location: Bottom right of the form.
  • Appearance: Red button with a disk icon and label Save.
  • Action: Submits the form data to the system for user creation.
  • Validation Behavior: Should only be active once all required fields are correctly filled.

Behavior & Validation Notes

  • All required fields (*) must be filled before enabling the Save button.
  • The Close (X) button cancels the action without saving and returns the user to a previous screen or dashboard.
  • Placeholder text helps guide user input and demonstrates correct format or expectations.