fixed errors in input field with css and form post, error popup working