Hi Massimo, Thanks for the reply. I tried your codes and the Previous and Next works well, however the self-submitting form is still not functioning. Input any page number and submit, still on the current page. I'm not sure about the mechanism how the progrom respond to a form submission, because you mentioned actions are not needed. Now the case is, there is no response. Which part of code is supposed to receive and process the submitted content? I also tried to move input form clause from VIEW to CONTROLLER to see if it would work, and it didn't.
BTW, for this line: > messages=db(db.whoelse.id>0).select(orderby=~db.whoelse.created_on,limitby=limitby) an error was raise saying 'invalid sytax' which pionts to 'l' after '='. After inserting a space inbetween, it's ok.

