conditional fields returns error on submissions