overhaul input types for textboxes