Hi,
Yes, getPrevAndNextRecords() can run into issues when a hidden field is present. The way to work around this is to add this to your where clause:
ie
'where' => 'hidden = 0',
That should take care of the issue for you. Please let me know if you need anything else.
Thanks,
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/