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

nils.destoop’s picture

Status: Active » Closed (fixed)

Yes, 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.

adam_b’s picture

Status: Closed (fixed) » Active

That'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?

hydra’s picture

Status: Active » Closed (fixed)

Well I just tested it like you said you did, this was my code:

http://myurl/node/50/edit#node_article_form_group_foo

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!

adam_b’s picture

Aha - 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.