Why fields won't show/hide conditionally?