How can I hide several fields until a condition is met?