1

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

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

  • Webforms is just too much :-) that looks great, thanks. I'll check it out. – Adaddinsane Jan 8 at 11:54
  • 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 Jun 20 at 23:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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