Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Loop through all of the fields in the document
- for (var i = 0; i < numFields; i++) {
- // Get a reference to the current field
- var f = getField(getNthFieldName(i));
- // If the field exists, isn't a button, is set to read-only, and is set to not print...
- if (f && f.type !== "button" && f.readonly && f.display === display.noPrint) {
- f.display = display.visible; // ...make it visible so it will print, gosh darn it!
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement