Skip to main content
Nintex Community Menu Bar

Next and Previous buttons that save and go to next/previous record

  • Nov 28, 2017 7:30 PM UTC
  • 3 replies
  • 68 views
  • Translate All

Forum|alt.badge.img+1

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.

3 replies

Forum|alt.badge.img+8
  • Nov 29, 2017 8:59 PM UTC

Are you customizing the display or edit form?

Translate

Forum|alt.badge.img+1
  • Author
  • Nov 29, 2017 9:05 PM UTC

Editing the form

Translate

Forum|alt.badge.img+1
  • Author
  • Nov 30, 2017 6:39 PM UTC

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)};

Translate