Previous/Next Button on Nintex Form Receive "No Item Exists" Error

I am wanting to add a Previous / Next Button to a Nintex Edit Form.    The following code has been added to the Client Click section of the button:   Next Button:  window.location = "Site URL/Lists/IAMGlossaryNavSettings/EditForm.aspx?ID=" +(ID+1)    Previous Button:   window.location = "Site URL/Lists/IAMGlossaryNavSettings/EditForm.aspx?ID=" +(ID-1) .     When clicking the Previous Button or Next Button on the form, the following error will display because a certain ID does not exist:  "No item exists at...  It may have been deleted or renamed by another user"  Does anyone know how to get around the "No Item exits" error?    Will this require additional Javascript?   If so any help with the JavaScript would be appreciated.

Tags (2)
0 Kudos
1 Reply

Re: Previous/Next Button on Nintex Form Receive "No Item Exists" Error


May I ask what are you attempting to do here that is forcing you to add previous and next buttons to the edit form?

The edit form requires a submit or refresh and typically that can cause a few different issues with forms and form data as a well. Not sure you want users hitting next - next - next, typing some data and then nothing gets saved because of the browsers cache etc. This code should work within the display mode, but in the edit view

0 Kudos