restrict text inputs in edit profile