Is there anyway to have the [WM-LinkIndexNext] and [WM-LinkIndexPrevious] only appear based on a certain condition? like if a particular Field of the next or previous index meets a specified requirement?

Or do I have to manually add Next and Previous links myself? Thanks a lot!