Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
    
Do you want to hide the fields in registration forms ? –  2-Stroker 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
add comment

1 Answer

up vote 2 down vote accepted

Sounds like profile2_regpath will help you.

share|improve this answer
    
You sir are a god amongst men - thank you! –  Jolva Jun 28 '12 at 15:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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