I moved the code from "test.0.1" to a function at the doc-level and then called it and it worked just fine...
Sorry, I don't really know what you're trying to achieve here, and the code is not the most clear...
If you want additional help you'll need to explain what it is you're trying to do, exactly.
I'm trying to achieve a document level script that will do exactly what my example pdf Dropbox - moveFields.pdf does
If user select 'Yes' in drop down a small box (gap) is placed between each large box (test).
If user selects 'No' in drop down the small box (gap) is hidden and each large box (test) is moved back to original position.
I need to do it at a document level because i will have a lot more boxes than the sample pdf
Thanks again for your assistance
As I said, the code works when I move it to the doc-level. If it does what
you want it to do is another question...
Thanks again for taking the time to help me.
If the code worked the way I would expect it why am i seeing this when i mover the script to the document level:
Instead of this: So when No is selected this is the result I want using a document level script...
If Yes is selected this is the result I want using a document level script...
I hope this makes more sense.