Problem/Motivation

We have a multistep form of around 8 steps and creating nodes based on this multistep webform. So when user wants to edit submiited data they have to again go through all 8 steps. Instead of showing an editable multistep webform, we can show directly node edit form on webform submission so users can edit all information in one place.

Steps to reproduce

1. Create multistep webform
2. Map this webform with any one content type
3. Submit webform

Proposed resolution

Redirect users to node edit form once they submit the webform

Remaining tasks

Make configurable form with redirection option(Checkbox), if redirection option is checked then only apply redirection logic.

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3252267-2.patch1.86 KBhardik_patel_12
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Hardik_Patel_12 created an issue. See original summary.

hardik_patel_12’s picture

StatusFileSize
new1.86 KB

milos.kroulik made their first commit to this issue’s fork.

milos.kroulik’s picture

Title: Redirect to node page » Redirect to created/updated entity

Other content entities besides nodes can be created, this should be reflected in the issue title.

milos.kroulik’s picture

Version: 2.0.2 » 4.x-dev

The submitted MR:

  • adds the redirection to created / updated entity on webform submission
  • allows to specify a status message, that should be displayed to the user once he/she lands on the created/updated content entity

joaomarques736’s picture

Hello milos.kroulik, Thanks for your help, I did some adjustments and committed you changes! It will go in the next release. Best regards

joaomarques736’s picture

Status: Active » Fixed
joaomarques736’s picture

Status: Fixed » Closed (fixed)