Do the validation of models, and add some css3 elements to input field