Make child field required only if visible in Chrome