restrict text inputs in user edit