Button to Save and open New Form


#1

How would I create a button that would save a current form and then open a new one. I need a way to allow people to submit multiple items one right after another.
Thanks
Jennifer


#2

Dear Jennifer,
You can add the following code to the button OnClick event:

fd.spSaved(function(result) {
    var listId = fd.spFormCtx.ListAttributes.Id
    result.RedirectUrl = "https://domain.sharepoint.com/sites/sitename/_layouts/15/listform.aspx?PageType=8&ListId=" + listId;
});

fd.save();

This should work, simply replace

https://domain.sharepoint.com/sites/sitename

with the address of your site instead.


Hide the Title field and populate it with multiple line field