Form fields clearing on validation