How do I group a section of inputs to show together in the conditional statement