Working with List

I have a form where I want to do mandatory validation. I pass the fields in a list and validate the lists. But some fields are mandatory only on some condition. But my list of fields are not changing , the fields once set in the list are not removed from it when the condition changes. How to dynamically change the values in the list?

Subject: Working with List

change the type of field to computed