Javascript functions to loop through elements within a PDF in Adobe LiveCycle
Full credit for ProcessAllFields.js belongs to Stefan Cameron.
I found this code very useful when creating custom functionality within a PDF form. It allows for a greater range of actions and events to execute on the form compared to the default LiveCycle scripting language.