diff --git a/application/views/employees/form.php b/application/views/employees/form.php index 37599af16..84e7bddc5 100644 --- a/application/views/employees/form.php +++ b/application/views/employees/form.php @@ -209,9 +209,16 @@ $(document).ready(function() last_name: 'required', username: { + person_id == "") + { + ?> + remote: "", + required: true, - minlength: 5, - remote: "" + minlength: 5 }, password: {