Closed (fixed)
Project:
Field Group
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 May 2012 at 15:44 UTC
Updated:
23 Aug 2012 at 16:34 UTC
I have some long node/edit forms which I've divided into fieldgroups (generally tabs). In some instances I'd like to provide an "edit" link which opens the node/edit form at the appropriate fieldgroup so the user doesn't have to look for the content. Is there any way to do this?
Comments
Comment #1
nils.destoop commentedYes, its possible.
An example:
When your group has a machine name from: group_mygroup and the group is located on a node, and content type article: then this is your url for the node detail page (full view mode):
http://drupal7/node/3#node_article_full_group_mygroup
You can inspect the html with firebug, if you want to see the id of the fieldsets.
Comment #2
adam_b commentedThat's promising thanks - but unfortunately doesn't quite answer my question.
I'm trying to get to a fieldgroup in the node edit form, rather than in the node view. I've tried adjusting your example with http://drupal7/node/3/edit#node_article_full_group_mygroup but this doesn't work.
Any other suggestions?
Comment #3
hydra commentedWell I just tested it like you said you did, this was my code:
Worked as zuuperman told. Please try it again, it should work! This has nothing to do with field_group, your using the id as anchor, your browser should lead you to the right section!
Comment #4
adam_b commentedAha - you have "#node_article_form" whereas I was still using "#node_article_full". I've tried with that change and it works.
I thought I was missing something obvious - thanks very much.