Highlight required and invalid fields

Sometimes I am stuck that I cannot click a [button], because it is disabled. It would be great if I could directly see what [fields] are required or invalid. Maybe they could be somehow highlighted and/or (additionally) it would be better to enable the [button], validate the input on click and then highlight all those [fields]?