Show or hide text field based on other text fields
I know how to show or hide a text field if text is entered in another text field, but this is a different twist. This is what I am looking to do:
I have six text fields: 1, 2, A, B, C and D. Field 1 and 2 are text enterable. If no text is entered in either field 1 or field 2, I want field A to show and fields B, C and D to be hidden. If text is entered in field 1 but not field 2, I want field B to show and fields A, C and D to be hidden. If text is entered in field 2 but not field 1, I want field C to show and fields A, B and D to be hidden. If text is entered in fields 1 and 2, I want field D to show and fields A, B and C to be hidden.
Any help would be appreciated.
