Is “A” “B” type members also a taxonomy? If it is then this is not possible with ACF alone. There have been solutions for this in the past. Try searching the forum for something like “conditional logic on taxonomy field”
If this is not the case, what type of field is the “A” “B” type field?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users