I have been though #1006464: field_group not working on user registration and add people form of profile2 but this seems to be a different issue. I have been though a number of combinations of settings but nothing seems to work on profile 2 page display and manage fields. I have attached a sample screen shots of my setting, display and edit pages. I spent hours but have been unable to make it work as expected. It there a bug or am I missing something. On the administrative editing page (with vertical tab settings)one of the group of fields are not even displayed. The display is totally out of order.

Comments

aanjaneyam’s picture

As a further note. I was first using 7.x-beta1 and then changed to 7.x-1.0-dev thinking it may solve the issue.

Stalski’s picture

i'll check this asap

aanjaneyam’s picture

Thanks a lot for your response. With some further testing I discovered that only the fieldset format/effect is working. No Vertical, horizontal or accordion.

Stalski’s picture

aanjaneyam’s picture

Yes I know and that's what I mentioned in the first line of my first post. In my case except fieldset nothing seems to work on either any page (display or editing). In vertical tabs (on edit interface) it even makes fieldgroups invisible (see screenshot). I will now try on content types and content to see if the problem is with profiles 2 only.

Stalski’s picture

I am reproducing the set of field and groups you have.

For the first two screenshots, you forgot the vertical tabs group. That's where you nest the vertical tabs itself in, as the description above reads. Try to add it and i think it 'll work just fine.

aanjaneyam’s picture

Could I request your settings screenshot. Thanks

Stalski’s picture

StatusFileSize
new39.4 KB

I will try to work for a solution that would work if somebody forgets or misunderstand it.

Stalski’s picture

Status: Active » Closed (fixed)

So it works for all things, except i put a fallback for forms only, that when you forget (or think the core vtabs for additional settings exists), i will provide a wrapper "additional_settings" myself to make sure at least the form with the fields are displayed correct.

You still need to follow the guidelines above, and create a vertical tabs group to nest your vertical tabs in. This is kind of logic if you realize there could be more vertical tab groups.

conclusion: it works in all cases now, as long as you follow the guidelines. In there is an exception for instance on node forms where you can put the vertical tabs in the core "additional_settings" group. That is also explained in the instructions on the display/ fields UI screen.

aanjaneyam’s picture

Thanks a lot for getting at it so quickly. Finally is it true for horizontal tabs too. If that is the case the I was wrong in my second screenshot too.

Stalski’s picture

Fields can be dragged into groups with unlimited nesting. Each fieldgroup format comes with a configuration form, specific for that format type.
Note that some formats come in pair. These types have a html wrapper to nest its fieldgroup children. E.g. Place accordion items into the accordion, vertical tabs in vertical tab group and horizontal tabs in the horizontal tab group. There is one exception to this rule, you can use a vertical tab without a wrapper when the additional settings tabs are available. E.g. node forms.

This is what it reads on the fields UI and display UI screen. That's new in the dev releases. The part FYI is in bold.

jjma’s picture

Version: 7.x-1.x-dev » 7.x-1.0-rc1
StatusFileSize
new18.81 KB
new21.53 KB

I'm experiencing a similar issue using field group 7.x-1.0-rc1 with profile 2 7.x-1.0-beta1 in that I have two profiles, one for members and the other for corporate members. I want to use both during account registration but need to use vertical tabs to reduce page height. When both are enabled I lose the member profile input boxes completely? This is the case for all types of grouping formats.

I did a bit of debugging and found that disabling one of the profiles brings back the vertical tabs for the other profile.

webadpro’s picture

I'm having almost the same issue.

I have two profile type and the first one I cannot see any of the fieldsets.

If I use vertical tabs it works great but when using fieldset it doesnt.

pvhee’s picture

This issue is still open when using 1.x-dev fieldgroup and Profile 1.3. Only vertical_tabs work, all the others (including fieldset) do not show up at the user registration.

deanflory’s picture

I can't get an accordion to show up at all and I do have them nested in an accordion group. There has to be some conflict somewhere.

simone960’s picture

I am facing the same problem here. when having two profiles in profile2, my fieldsets didn't appear in the registration page. I'm using fieldgroup 7.x-1.1 + profile2 7.x-1.3 Any insight?

busla’s picture

StatusFileSize
new10.08 KB

I´m using dev version of both modules and nothing works. The group has a title but is empty.

busla’s picture

Status: Closed (fixed) » Active
busla’s picture

Status: Active » Closed (works as designed)

Oops... make sure you check "show during account registration" in the profile type and the " Display on user registration form" checkbox on any fields attached to the user entity.

aanjaneyam’s picture

Status: Closed (works as designed) » Closed (fixed)
manoloka’s picture

Issue summary: View changes

Hi Bulsa,

I know it'a and old issue but I'm finding this same problem right now.

When you say;

make sure you check ... and the " Display on user registration form" checkbox on any fields attached to the user entity.

Where is that checkbox supposed to be? I can't find it anywhere :(

Thanks

deanflory’s picture

"Show during user account registration." is available when editing your Profile2 Profile type:
/admin/structure/profiles

"Display on user registration form." is available when editing a field on your User entity:
/admin/config/people/accounts/fields

Required fields automatically are set to "Display on user registration form." when the "Required" checkbox is checked.

manoloka’s picture

StatusFileSize
new35.11 KB

"Display on user registration form." is available when editing a field on your User entity:
/admin/config/people/accounts/fields

You don't get the option to edit profile2 fields in /admin/config/people/accounts/fields

accounts fields

deanflory’s picture

The User entity or account, and Profile2 profiles are two different things. Fields on User are different settings than any Profile2 profile fields settings. User fields show when looking at your account. Profile2 fields show when you're viewing a profile.

deanflory’s picture

...unless you've somehow set things up so that someone viewing a User account gets sent to a Profile2 profile via redirect or other setting (can't remember where that setting was available, oh yeah, I think in display suite view modes you can choose a Profile2 to have an account display or something like that).