2

I've looked at the other similar questions but they don't answer this precise issue.

In my use case, a webform is displayed on an arbitrary entity page (such as "activity/xx"). (This is not a 'node' entity type.)

When completed I want the user to be returned to this page with no message, but we don't know what the value of "xx" is going to be when the webform is created, and the work is going to be done by non-technical staff.

It's possible to:

  • Create the webform;
  • Build the entity and select the webform;
  • Note the entity ID created;
  • Go back and modify the webform confirmation page;

But this is not good for non-techies. It's easier if they're told to go to the settings page and add a handler.

I just need to force the confirmation redirect to reload the current page.

I could probably manage if I could use tokens in the confirmation page URL, or in the settings handler but I see nothing that says I can and my testing hasn't worked.

I know I can get the source entity in a handler in the back end, so I ought to be able to jump there. I just don't want to break anything...

1 Answer 1

1

When completed I want the user to be returned to this page with no message

I just need to force the confirmation redirect to reload the current page.

The following should do the trick:

enter image description here


Better yet:

enter image description here

2
  • Webforms is just too much :-) that looks great, thanks. I'll check it out. Commented Jan 8, 2019 at 11:54
  • 3
    Note that this does NOT answer your original question, so for the benefit of people finding this page in the future I'd recommend that you update the question.
    – flaviovs
    Commented Jun 20, 2019 at 23:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.