Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Direct to newly created page after submission #23

Closed
GeorgesPapas opened this issue May 3, 2017 · 2 comments
Closed

Direct to newly created page after submission #23

GeorgesPapas opened this issue May 3, 2017 · 2 comments
Assignees

Comments

@GeorgesPapas
Copy link

Hi there,

I'm wondering how I would go about getting the user redirected to the newly created page after a successful submission, rather than the 'thank-you' page. I've tried to change the value of the display field but I can't seem to find a variable that contains the newly created page slug.

Thanks.

@bleutzinn
Copy link
Owner

The slug is created after the submit when the form is processed by the plugin. Maybe it's possible to define display: @self which gets substituted by the new page's slug.
I'll look into it.

@bleutzinn bleutzinn self-assigned this May 4, 2017
@bleutzinn
Copy link
Owner

This is possible from V2.0.0 by using 'redirect: @self'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants