1253 add pagination to forms