Add form option to display Scheduler fields without a fieldset

Created on 18 May 2021, about 4 years ago
Updated 3 June 2025, 11 days ago

Problem/Motivation

The Node Edit Page options for a content type currently has two options for how to display the fields -- "Vertical tab" and "Separate fieldset". If either option is selected the node edit page will always add a "Scheduling options" fieldset even if the fields are moved elsewhere in the node edit form display configuration (e.g. if they are moved to a different field group using the Field Group module there will always be an empty "Scheduling options" fieldset on the form).

Steps to reproduce

  1. Install the Scheduler module and enable support for a content type.
  2. Install the Field Group module.
  3. Edit the form display for the Scheduler-enabled content type.
  4. Create a new field group (any type) and move the Scheduler publish and unpublish fields to that group.

After following the steps above the node edit for for the content type with display the Scheduler fields in the custom configured field group but also display an empty "Scheduler options" fieldset in the form.

Proposed resolution

Add a new "Individual fields" option to the Node Edit Page configuration section that prevents the Scheduler field group from being added. Patch incoming for this approach.

Remaining tasks

Review and merge if tests pass.

User interface changes

New option in the Node Edit Page configuration form.

API changes

None.

Data model changes

New potential value "fields" for the fields_display_mode node type third party settings.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇺🇸United States wells Seattle, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India junaidpv Kannur, Kerala

    Found the patch from #3 working as we have Field Groups and an empty "Scheduling Options" fieldset appearing in node add/edit pages.

  • 🇬🇧United Kingdom jonathan1055

    Thanks for the feedback. The patch will need to be converted into a Merge Request, then we will get Gitlab Pipeline testing.
    @wells or @junaidpv can you do this?

Production build 0.71.5 2024