Page 1 of 1

Re: New form with Related Items redirect to edit form

Posted: 24 Sep 2013
by MES5464
I am trying to figure out how to use this method to make adding child items on the New Form work. If anyone can help me please.


$().SPServices.SPRedirectWithID

New form with Related Items redirect to edit form

Posted: 24 Sep 2013
by MES5464
The "Related Items" object works fine on an Edit or Display form, but it doesn't work on a New form since there is not ID for the parent record yet.

How can I redirect the Save button click of a New form back into the Edit form for that same parent record?

I don't want the user to have to go hunting for their new expense report to start adding expense items to it.

Re: New form with Related Items redirect to edit form

Posted: 30 Sep 2013
by MES5464
Here is what I have so far:

$().SPServices.SPRedirectWithID({

redirectUrl: "http://share.showprg.com/Lists/Expenses ... _Edit.aspx",

qsParamName: "ID"

});


I am trying to redirect the New Form into an Edit Form, so the parent record will have an ID and the user can start adding child records right away.

Re: New form with Related Items redirect to edit form

Posted: 02 Oct 2013
by Dmitry Kozlov
Hello,

Please, upgrade Forms Designer up to 2.7.11 version and follow instruction from our article:

How to open edit form right after creation of an item in SharePoint