Just a suggestion, it might be easier to build your form on a master page and set the minimum count to 20. That way you would only need to create one page and if you needed to change the number of pages in the future, you'd only need to change the number of the minimum count again.
Regards,
Dave