add some form required attributes, css tweak