Page 1 of 1

Redirect to Display Form after submit

Posted: 21 Oct 2014
by Adam Reyes
I need to be able to have a New Form redirect to it's Display Form after it's been saved so the user can see the ID of their submission. I know how to create the ID text on the display form but I don't know how to redirect the form to the Display Form once it's submitted. How would I go about doing that?

Re: Redirect to Display Form after submit

Posted: 22 Oct 2014
by Dmitry Kozlov
Hi Adam,

Please, follow the steps described in the following post:

http://spform.com/forms-designer- ... sharepoint

Just replace the Edit form URL with the Display one:

Code: Select all

var uri = fd.setUrlParam(
    decodeURIComponent(window.location.href), 
    'FDRedirectWithID', 
    'fd_Item_Edit.aspx?ID=');

Re: Redirect to Display Form after submit

Posted: 07 Jan 2015
by SpongeBen SquareJaw
This doesn't work.

Re: Redirect to Display Form after submit

Posted: 07 Jan 2015
by SpongeBen SquareJaw
Apparently Listview threshold is not allowing this to work.

Re: Redirect to Display Form after submit

Posted: 08 Jan 2015
by Dmitry Kozlov
Probably, you're right. Do you use SharePoint on-premises or SharePoint Online. You can increase list view threshold in the Central Administration -> Manage Web Applications. Next, pick your application and expand General Settings dropdown on the ribbon. Click Resource Throttling and change List View Threshold field.

As for SharePoint Online in Office 365, you can create indices for Created and Created By fields in the list settings to workaround the issue.

Re: Redirect to Display Form after submit

Posted: 08 Jan 2015
by SpongeBen SquareJaw
I use SharePoint on-premise, but we are forbidden to increase the listview threshold. Would indexing the Created and Created by fields work for this too.

Re: Redirect to Display Form after submit

Posted: 09 Jan 2015
by Dmitry Kozlov
Yes, it must work for SharePoint on-premise as well.

Re: Redirect to Display Form after submit

Posted: 15 Feb 2016
by charles267
This method does not seem to work if the list that you are working with uses folders. Instead of redirecting you to the edit form of the newly created item it will take you to the edit form of the folder that the item is contained in. Can you please help? Thanks!

Re: Redirect to Display Form after submit

Posted: 16 Feb 2016
by rostislav
We've fixed this bug, please update Forms Designer.