How can I make fields "required" or "not required" depending upon a url query parameter?