Handle input field css classes