I have a scenario where I want users to be able to register via the standard registration form and be assigned a role of "tenant". I also need the ability for site administrators to be able to create either "tenant" roles (with unique fields) or "landlord" roles (with their own unique fields and roles).

I've looked at profile2, user role field, and field permissions as possible modules, but I'm unable to see a way of getting this to work. How can I make certain fields required for one role, but hidden for another?

closed as too broad by kiamlaluno Jul 20 '17 at 1:06

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Do you want to hide the fields in registration forms ? – GoodSp33d Jun 28 '12 at 6:51
  • That would be great, but even that's not necessary. I'm stuck now because if I make a field required for one role it's required for both roles. – Jolva Jun 28 '12 at 11:56

Sounds like profile2_regpath will help you.


Multiple registration should help you.

Not the answer you're looking for? Browse other questions tagged or ask your own question.