How to control the number of pages of a form with the use of a drop down menu?