Save new form and redirect to the edit form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Cloud.Ed
Posts: 40
Joined: Fri Dec 04, 2015

25 Jun 2016

Using the following example, it fails, it seems to not pass the ID of the new item.

fd.onsubmit(function() {
var uri = fd.setUrlParam(decodeURIComponent(window.location.href), 'FDRedirectWithID', '/Lists/Projects/fd_Item_EditForm.aspx?ID=');
fd.sourceFormParam(uri);
return true;
});

Please help. This is Office 365, Forms Designer 3.0.8

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

27 Jun 2016

Please, note that this method works for New forms only. Also, make sure that you're using the correct server-relative URL of the Edit form. Try to use current location -relative URL as demonstrated at out blog:

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

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests