Hi,
I have created the document, but i'm getting a 'script failed' error.
i "Error: function 'switch' on line 2, column 30 is unknown.
b EXACTLY WHAT I HAVE DONE:
b 1/ created a new document
b 2/ insert drop-down list from object library
> added 'Printer', 'Computer', 'Desk' value to the list
> in script editor: changed SHOW to 'exit', and pasted the code you provided
b 3/ insert 2 text fields
> renamed the name under the 'binding' tab to TextField1 and TextField2
When I go to preview PDF i get the script error.