Hi there,

I really love that module. I am using it on fields assigned to a user (since user is now fieldable) that define a somewhat complex (e.g. many items) profile.

I am using the "multipage" widget, which is great to present a multi-page form to a user trying to create a new user n the website (and I am moving the "create user" button on the last page). This works beautifully! I also use a simple "fieldset" to display the information on the user profile page. Again, perfect in simplicity.

The issue I am facing is that once a user has been created, whenever that user needs to edit information from his profile, the interface is the "multipage", which is a bit unintuitive (especially the fact that you can only save the form on the last page of the form as per my configuration).

Would it be possible to provide a way to configure these 2 things separatly? It is possible to display fields things in different way (prefiew, full), but I am not aware of any mecanism to do it for creating/editing.

Side note: if anybody is facing the same issue, what kind of solution are you investigating?

Cheers,

Sylvain

Comments

spouilly’s picture

Ok, probably answering my own question ... just checking another user request and I think the same method can be applied for my use-case:

See http://drupal.org/node/1370914#comment-5393548

Basically, use the hook 'field_group_pre_render_alter to modify all the groups at once depending on the situation.

If someone with the knowledge could confirm ... I would be grateful will implement it much later.

S.

jeffschuler’s picture

Status: Active » Closed (duplicate)

Yes...
Marking this as duplicate of #1370914: Change fieldgroup type programmatically.