I have a a list of text fields for a person's name. Then for each textfield there are 5 other input fields to describe the person.

What I want to do is that when no name for the person is enetered, the fields describing that person will be deactivated.

For exaple I got "Player 1 - Blue, Tall, France"

I got 10 of those but when I just put in names for 4 people, the descriptions for the other 6 still appear.

So, is there a way to deactivate the other form fields if one is left at value=0 ?