Mario - You can't disable the print button in the browser, but the method you were using is probably the most effective way of doing that - opening a new window without a toolbar. For good measure, you may want to trap the right-click to keep people from choosing the "print" command through the context menu. You could possibly place the form in a large frame with a smaller frame above it extolling the users to fill out the form in its entirety before printing.
Have you looked into using PDF's? I know you can disable printing a document completely, but I don't know if you can granularly control that to only enable printing after certain criteria (such as filling out all form fields) have been met. - Jim Ciliotta, Mario wrote: >Hi all, > >I was wondering if someone will be able to help me with a issue that I am having. I >need to be able to either disable the print button in the browser toolbar (IE only) >or trap that the user click the print button and display a message, that the form is >not complete or if it is possible to print a different document, then the unfinished >form. > >I know that I can open the form in a browser window without the toolbar but people >get real ticked off if that tool bar is missing and then call the support desk to >complain that their browsers is not working correctly. > >The problem basically is that my users are lazy and will print off a half completed >form, then fill in the rest of the fields by hand and then fax the form - instead of >doing it all online. The form needs to be printed at the end but that is after all >the fields are filled out. > >If anyone knows how to stop this, that would be great. We are using CFMX for this >application if that matters - maybe CF could be used to trap the print??? > >Thanks > >Mario > >This message is for the named person's use only. It may contain sensitive and private >proprietary or legally privileged information. No confidentiality or privilege is >waived or lost by any mistransmission. If you are not the intended recipient, please >immediately delete it and all copies of it from your system, destroy any hard copies >of it and notify the sender. You must not, directly or indirectly, use, disclose, >distribute, print, or copy any part of this message if you are not the intended >recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST >BOSTON or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON >reserve the right to monitor all e-mail communications through its networks. Any >views expressed in this message are those of the individual sender, except where the >message states otherwise and the sender is authorized to state them to be the views >of any such entity. >Unless otherwise stated, any pricing information given in this message is indicative >only, is subject to change and does not constitute an offer to deal at any price >quoted. Any reference to the terms of executed transactions should be treated as >preliminary only and subject to our formal written confirmation. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4