Submitting clears conditionally hidden fields of all values