How to temporarily disable required fields