Skip to main content

I would like to know how to create a next and previous button that saves and move to the next or previous records in the list.  I have the previous and next buttons working, I just cant get it to save the record.

Are you customizing the display or edit form?


Editing the form


Here is my current code that is in the Custom JavaScript of the Form

function saveNext() {NWF$("input[value='Save']").click(); window.location = "Site URL/Lists/List Name/EditForm.aspx?ID="+ (ID+1)};

function savePrevious() {NWF$("input[value='Save']").click(); window.location = "Site URL/Lists/List Name/EditForm.aspx?ID="+ (ID-1)};


Reply