Hi...

I am a newbie and very new to content profiles. I actually want to theme user registration form, the fields loaded from content profile node are not appearing in $form variable of hook_form_alter.

I want to remove/unset the fieldset coming from group fields, but I am not able to get the content_profile fields in $form.

I am not sure if this is a duplicate issue. Any help would be much appreciated...

Thanks...

Comments

madhums’s picture

Category: feature » support
madhums’s picture

Assigned: Unassigned » madhums
Status: Active » Closed (fixed)

Figured out... module weight problem...

rj’s picture

Just to clarify for people who have the same issue (like me :) : if you're using hook_form_alter to modify the content profile on the registration form, you'll need to set the module weight of the module w/hook_form_alter higher than that of content_profile_registration (tip: go to the profile node type to see content_profile fields, they're not available in $form).