Closed (outdated)
Project:
Field Group
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2011 at 18:29 UTC
Updated:
18 Mar 2019 at 12:37 UTC
Jump to comment: Most recent
Comments
Comment #1
nils.destoop commentedYou can use the hook 'field_group_pre_render_alter to modify all the groups at once.
The element to render will be given as param, and #groups will be as key in the element.
In the #groups array, you can modify the format_type and format_settings from every group.
Comment #2
jeffschulerMarked #1402640: add configuration to handle differently creating and editing existing content as duplicate.
Comment #3
jeffschulerMy form is normally set up with a group of vertical tabs. For anonymous users I want to change this to multipage.
My use of hook_field_group_pre_render_alter() is mostly working, but the resultant page shows all of the multipage panes laid out, one after another, and no previous/next buttons.
Any idea what I'm doing wrong here?
Comment #4
digitopo commentedI'm looking for the same functionality...
I'm using the Profile2 module for additional user fields. I have a profile2 profile type displayed during registration and have made it a multipage form using fieldgroup, but after registration, I would like it to all be on one page when users go back and edit this profile.
Can anyone provide some more info on how to achieve this? Thanks!
Comment #5
simeAs this issue is more than two years old, I'm closing this. Please do re-open if the functionality is still required or desired.