restrict text inputs in designation CRUD