Avatar

Level 2

First off I will just say due to customer restrictions I can not distribute this form

So I have a form with 5 pages and 3 barcodes.  The logic for encoding the barcode is in a custom javascript in the calculate method.  I have found that the performance is horrible with scrolling being choppy, tab navigation difficult and the selection of a field being terribly delayed.  I tried moving the logic of the barcode encoding to prePrint, since I really don't need the BC update till then, I get my msgbox at the top of the method and another one at the bottom but the BC does not physically change when printed, even though my last msgbox displays what the BC is supossed to be set to.  Added the logic to postPrint, preSave, postSave and in no instance does the barcode appearance change.  The big positive is without the script in the calculate methos the performance is great, and form navigations flows smoothly.

Please let me know if you have any thoughts on how I might either stop calculate from sucking the life out of my CPU, or how to get other methods to render the BC?  Also along the lines of the BC, I told it to only be visible on print but it is still appearing on the screen, thoughts?

Thank you so much

Cameron