form html validation fix