Make sure form html is valid