Here is one way to do it: 1. Create a four-page document and keep it open. 2. Name page 2, page 3 and page 4 using createTemplate in the console using the following script: this.createTemplate(“Page2”, 1); this.createTemplate(“Page3”, 2); this.createTemplate(“Page4”, 3); 3. Add the following script as a document-level script: var pgv = []; pgv['1'] = 3; pgv['2'] = 2; pgv['3'] = 3; pgv['4'] = 2; pgv['5'] = 3; pgv['6'] = 2; pgv['7'] = 3; pgv['8'] = 2; pgv['a'] = 4; pgv['b'] = 4; pgv['c'] = 4; 4. Create the dropdown field and name it “Dropdown”. 5. Add the following options for the dropdown field: 1, 2, 3, 4, 5, 6, 7, 8, a, b, c. 6. Select ‘1’ as the initial option of the dropdown field using the following script in the console: this.getField("Dropdown").value = 1; 7. Hide “Page2” and “Page4” using the following scripts in the console: this.getTemplate("Page2").hidden = true; this.getTemplate("Page4").hidden = true; 8. Add the following script as a custom validation script of the dropdown field: this.getTemplate("Page" + pgv[event.target.value]).hidden = true; this.getTemplate("Page" + pgv[event.value]).hidden = false; I created an example PDF form (Sample Dropdown with Templates) that used the instructions above.
... View more