New form to return to referring page
-
- Posts: 76
- Joined: Wed Jan 21, 2015
We have 1200+ sites with a link to an ECT list type named Comment Log. Each site link passes two parameters to the new form to auto fill fields. Upon clicking the save button I want the user to return to the referring page giving them the opportunity to click on the link again to add another comment. I tried using the onclick button event with "window.history.go(-1); " without success. Any help would be greatly appreciated.
David
David
-
- Posts: 76
- Joined: Wed Jan 21, 2015
Sorry I'm not following. The form opens in the same window. However on submit the list opens. I want to return to the page that the originating link was on. I tried putting "window.history.go(-1); return false;" in the button onclick event without success.
-
- Posts: 76
- Joined: Wed Jan 21, 2015
When I put the following into the onclick field it returns to the page, but it doesn't write to the database.
window.history.go(-1); return false;
window.history.go(-1); return false;
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Dear David,
Can you post here a full URL of the form? Please, wrap it inside code tags, so it's not considered a hyperlink. If it has a source parameter, it should be quite easy to redirect users back, after the form is saved.
Can you post here a full URL of the form? Please, wrap it inside code tags, so it's not considered a hyperlink. If it has a source parameter, it should be quite easy to redirect users back, after the form is saved.
Cheers
-
- Posts: 76
- Joined: Wed Jan 21, 2015
Code: Select all
http://connect.xcenda.net/Lists/Comment%20Log/fd_Item_New.aspx?ProjectID=ABB0806151&ClientID=ABB01
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests