How can I make the one input to be non-mandatory based on the first four inputs?