Skip to main content

I have a button on a form that takes you to the next item on a list. I know the script to go to the next item in a list is :

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

 

However, the need is to go to the next "open" item on the list based on a status kept in a column. (i.e. skipping over any that are marked "Closed")  How can this be accomplished? 

 

Any help appreciated

Be the first to reply!

Reply