Hi all

I have a problem with the fields to fill in the registration module.

My drupal site have two different users and i want to get different fields for each one. Really, both type of users can do the same things in the site and they will have the same role. Then my only problem is get different information about each one.
In example: When a user go to registration page can select in a checkbox or dropdownlist if he is a "user" or a "private business" and then if he selects "user" will must fill some fields but if he selects "private business" he will must fill another fields.
I want the same utility when the administrator want create a new user by user administration tool.

Are there a soluttion for this?

Thanks all

Best regards.

Comments

captaindrunk’s picture

I'm not sure if the profile module allows conditional fields to be added to the registration form.

That being said, conditional display of fields based on user selection is probably best achieved using some simple ajax appear/disappear code.