It could be useful to have this as a setting with the following options:
After posting, redirect user to:
- The post they just submitted
- Back to the same page they were on when submitting
- This page: [Dropdown list of pages]
- The post or page with the following ID: [ ]
- A custom URL: [ ]
I’d personally use the second setting of redirecting back to whichever page the user submitted the form on. This is good when the form is placed on more than one different page – for example to have different pages with different forms for different content types (eg. Events, Locations). If the user submitted a new Event, they can now submit another Event without any extra clicks.
Also adding an option to customize this per form could come in handy. For example like this: [wpuf_addpost redirect_after="VALUE"]
, where VALUE would be either:
- 0, to return back to the same page,
- a post or page ID, or
- a custom URL.
What do you guys think, would this be what you’re hoping for?
Tareq: Could you consider implementing this?