Index: resources/views/dashboard/users/edit.blade.php
===================================================================
--- resources/views/dashboard/users/edit.blade.php	(revision 24a616f69ea5bcfc52f7d556c82a951a28dd130a)
+++ resources/views/dashboard/users/edit.blade.php	(revision ea7b12a15d1afa472a54d5b8c75c55917907862e)
@@ -28,5 +28,5 @@
                                 <div class="card-body">
                                     <h6 class="card-title">User account data</h6>
-                                    <form action="{{ route("dashboard.users.edit", ["id" =>$user->id]) }}" method="post" accept-charset="utf-8" enctype='multipart/form-data'>
+                                    <form action="{{ route("dashboard.users.edit", ["id" =>$user->id]) }}" method="post" accept-charset="utf-8" enctype='multipart/form-data' class="needs-validation" novalidate>
                                         @method("patch")
                                         @csrf
@@ -35,5 +35,8 @@
                                                 <div class="form-group">
                                                     <label>Name</label>
-                                                    <input type="text" name="name" value="{{ $user->name }}" class="form-control" placeholder="Name" required>
+                                                    <input type="text" name="name" value="{{ $user->name }}" minlength="2" maxlength="30" pattern="[a-zA-Zа-шА-Ш._\s]+" class="form-control" placeholder="Name" required>
+                                                    <div class="invalid-feedback">
+                                                        Please enter only letters and spaces with length between [2, 30]
+                                                    </div>
                                                 </div>
                                             </div>
@@ -41,5 +44,8 @@
                                                 <div class="form-group">
                                                     <label>Surname</label>
-                                                    <input type="text" name="surname" value="{{$user->surname}}" class="form-control" placeholder="Surname" required>
+                                                    <input type="text" name="surname" value="{{$user->surname}}" minlength="2" maxlength="30" pattern="[a-zA-Zа-шА-Ш._\s]+" class="form-control" placeholder="Surname" required>
+                                                    <div class="invalid-feedback">
+                                                        Please enter only letters and spaces with length between [2, 30]
+                                                    </div>
                                                 </div>
                                             </div>
@@ -49,5 +55,8 @@
                                                 <div class="form-group">
                                                     <label class="form-label">Username</label>
-                                                    <input type="text" name="username" value="{{ $user->username }}" class="form-control" placeholder="Username" required>
+                                                    <input type="text" name="username" value="{{ $user->username }}" minlength="5" maxlength="30" class="form-control" placeholder="Username" required>
+                                                    <div class="invalid-feedback">
+                                                        Please enter characters with length between [5, 30]
+                                                    </div>
                                                 </div>
                                             </div>
@@ -56,5 +65,5 @@
                                                     <label class="form-label">Role</label>
 
-                                                    <select class="form-control" name="userRole">
+                                                    <select class="form-control" name="userRole" required>
                                                         @foreach($roles as $role)
                                                             <option value="{{ $role->id }}" {{ $user->role_id == $role->id ? "selected" : "" }}>{{ $role->name }}</option>
@@ -68,11 +77,17 @@
                                                 <div class="form-group">
                                                     <label>Email</label>
-                                                    <input type="email" name="email" value="{{ $user->email }}" class="form-control" placeholder="E-mail" required>
+                                                    <input type="email" name="email" value="{{ $user->email }}" maxlength="50" class="form-control" placeholder="E-mail" required>
+                                                    <div class="invalid-feedback">
+                                                        Please enter a valid email address with length <=50
+                                                    </div>
                                                 </div>
                                             </div>
                                             <div class="col-md-6">
                                                 <div class="form-group">
-                                                    <label class="form-label">Mobile Number</label>
-                                                    <input type="text" name="mobile_number" value="{{ $user->mobile_number }}" class="form-control" placeholder="Phone number" autocomplete="off" required>
+                                                    <label class="form-label">Phone Number</label>
+                                                    <input type="text" name="phone_number" value="{{ $user->phone_number }}" class="form-control" placeholder="Phone number" autocomplete="off" required>
+                                                    <div class="invalid-feedback">
+                                                        Please enter your phone number
+                                                    </div>
                                                 </div>
                                             </div>
@@ -83,4 +98,7 @@
                                                     <label>Avatar</label>
                                                     <input type="file" name="avatar" value="{{ $user->avatar }}" class="form-control" accept="image/*">
+                                                    <div class="invalid-feedback">
+                                                        Please upload a valid image file
+                                                    </div>
                                                 </div>
                                             </div>
