For completeness, I think it probably needs to save the setting as well as demonstrating the behavior.

This is an issue in D6 as well.

CommentFileSizeAuthor
#3 vertical_tabs_example_3.patch738 bytesilo

Comments

rfay’s picture

Hate to add a table on just for this. It might be that we should say "It doesn't actually get saved" or something - see node example for how to save.

ilo’s picture

We can use a variable to hold the information instead of creating a table. A variable that could be shared with all nodes as a 'title' prepend tag or something like that. No matter what we do to save the information, we need to hook the form again in the submit callback to use the value.

rfay, does it make sense for you?

ilo’s picture

Status: Active » Needs review
StatusFileSize
new738 bytes

In the mean time, this is the patch including a description in the form field:

"This field is a demonstration about how to use Vertical Tabs in your forms. This setting will not be saved."

rfay’s picture

Status: Needs review » Reviewed & tested by the community

Works for me.

ilo’s picture

Status: Reviewed & tested by the community » Fixed

Thanks rfay, committed: http://drupal.org/cvs?commit=481850

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.