I used the redirect to edit upon new form save and it works... but... it loads the default Sharepoint form instead of the Plumsail modified form I created... When I use "edit" the form loads correctly.
thanks for your help!
Here is the code:
fd.spSaved(function(result) {
var listId = fd.spFormCtx.ListAttributes.Id;
var itemId = result.Id;
//replace "https://domain.sharepoint.com/sites/sitename/subsite" with path to your site
//PageType=6 means Edit Form
result.RedirectUrl =
"https://hnirisk.sharepoint.com/HNIDataHub/_layouts/15/listform.aspx?PageType=6&ListId="
+ listId + "&ID=" + itemId;
});
I don't get an error... it just redirects to the non Plumsail version of the edit form (see left). Do I need to add something to the path for the Plumsail form? Thanks!
It looks like the redirect is not seeing the plumsail form at all (it's bringing up the Sharepoint edit). Is there anything I can do to "force" it? could the form mode in Sharepoint be an issue? This is the last issue I have with my form migration (good news :-)) at this point.
Thanks again for your help. I will try a few more things and then see if I can set up a mirror site and try it there as well (to rule out our Sharepoint site).