Problem/Motivation

Unable to increase weight for steps on 'admin/config/workflow/forms_steps/edit/' past 10 due to the weight field dropdown. The default weight threshold is -10 to 10, and can be increased past the 10 threshold when adding new steps, but steps can also be reverted to a max weight of 10 when changing weights or moving steps.

The increase in threshold is needed due to how the forms_steps module gets the next step. If I have more than one step that has a weight of e.g. 10 then the next step will get stuck on the closest step with the weight of 10.

Proposed resolution

Update the weight field to a textfield instead of a weight field. Patch attached.

Remaining tasks

Testing

User interface changes

Update weight field form a weight field type to a textfield.

CommentFileSizeAuthor
#4 3138588-4.patch856 bytesnicoloye
#2 3138588-1.patch664 bytesthemic8

Comments

themic8 created an issue. See original summary.

themic8’s picture

StatusFileSize
new664 bytes

Patch attached.

themic8’s picture

Assigned: themic8 » Unassigned
Issue summary: View changes
nicoloye’s picture

Status: Active » Needs review
StatusFileSize
new856 bytes

Thanks for your issue and patch, may I suggest an alternative that preserve the drag n drop interface.

sehmann’s picture

Related issue is that neither the drag and drop nor the editing of weight values affects the ordering of the Progress Steps. I had 3 steps and then added a fourth one which I want at the 3rd position. It works in the Step section but not in the Progress Bar section. Should I file a separate issue for this?
Version: 8.x-1.4

nicoloye’s picture

@sehmann this is indeed a different problem, can you please create a new issue for this ?

sehmann’s picture

I actually missed that issue is a duplicate of an existing issue https://www.drupal.org/project/forms_steps/issues/3095343

nicoloye’s picture

Status: Needs review » Reviewed & tested by the community

  • nicoloye committed d165710 on 8.x-1.x
    Issue #3138588 by themic8, nicoloye, sehmann: Steps Weight Threshold
    
nicoloye’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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