en

Customer’s Role

Customer’s Role

The Customer role selection in the “Create New User” form offers a simplified data entry view. It emphasizes capturing the minimum viable data for customer accounts without requiring extra metadata like driver settings or employment status.


Form Fields

Role*

  • Selected Value: Customer
  • Type: Dropdown
  • Behavior: Upon selecting this role, no additional fields are introduced. The form remains minimal.
  • Validation: Required.

Email*

  • Type: Email input field
  • Placeholder: email@email.com
  • Validation: Required. Must be a properly formatted email address.

Phone Number

  • Type: Phone number input
  • Placeholder: + 12345678900
  • Validation: Optional (no * symbol next to label).
  • Purpose: Secondary contact method, not mandatory.

First Name*

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

Last Name*

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

Action Button

Save

  • Location: Lower-right section of the form
  • Label: Save
  • Icon: Disk/save symbol
  • State: Disabled until all required fields are populated.
  • Function: Submits the form to create a new customer account.

Behavior Summary

User ActionResult
Selecting “Customer”Retains a simple form structure with no extra fields.
Filling required fieldsEnables Save button for submission.
Clicking XCancels the action and exits the dialog without saving.

Role-Based Logic

RoleAdditional Fields
CustomerNone
DriverApp language, employment toggle
AdministratorNone