How to display registration form fields based on the taxonomy term? I have three taxonomy terms. And I want to display different fields in the registration form based on the taxonomy term.

I want something like this.

taxonomy term 1:
Registration form fields: Name, Email, Password, City, phone

taxonomy term 2:
Registration form fields: Name, Email, Password, Country

taxonomy term 3:
Registration form fields: Name, Email, Password, State, phone

Is it possible? if yes then please guide me.
On Drupal 7 you've a new API named State API. You can use it to hide or show your fields.