This happens immediately. It looks perfect on screen but once you print it, the hidden fields are no longer hidden. The javascript is at the end of the code which was written using Autonomy Forms Designer 7.5.2. Its a Liquid Office Product, now owned by HP. The third party software that does the processing and flattening of the documents is web based. Our loan origination system pushes XML data to them via what I think is a SOAP call or something to that nature. The third party software uses this information in the XML to determine which documents to pull in depending on what type of loan product it is. Based on the XFM documents done in Autonomy Forms Designer (exported as Fill and Print PDFs), Javascript can be used to do all sorts of things, like group checkboxes, make things manditory, mask fields (like SSN for example), check things off if something else is filled out.... you name it. If it can be done in Javascript it can be done. The third party software does the processing and the end users sees the form through Adobe Reader iview in Internet Explorer. Adobe Reader is in a frame which is wrapped in this third party applications UI. In the top is a continue or cancel session, so as you click continue it loads the next document and so forth, until all documents are reviewed and signed. Signing can be done via Topaz signature pad, or it can be sent out via Adobe Echosign for electronic remote signature capture. Maybe I would need to share the form, but let me get authorization to do so, or maybe sanitize it for public internet consumption. I can tell you the code in the file is what I pasted above, however there is a little more to it that checks (or doesn't check) boxes next to three different fields (dept protection/insurance, GAP insurance, MBP - Mechanical Breakdown Protection / Auto warranty program). The function is called with no arguments and here is a screen shot of the full function..
... View more