Copy link to clipboard
Copied
I've created a form to allow contractors to generate custome quotes for customers. I have "input" form fields and calculated "output" form fields. I want to allow contractors to enter inputs, like their purchase price and desired profit margin to calculate a customer sell price. Is there a simple way for a contractor to share the output field only PDF with a customer?
Copy link to clipboard
Copied
If the printed form is handed to the customer, then set the field visibility to No Print. But if the PDF is sent, then you'll need a button to make them invisible. Hiding fields is an action.
Copy link to clipboard
Copied
Is there a way to also make the button disappear before sharing the PDF?
Copy link to clipboard
Copied
Yes, you can use a script, like this:
this.getField("Button1").display = display.hidden;
Copy link to clipboard
Copied
If you want to be on the secure side, you will need to generate a new PDF file, without the information in the fields from the suppliers. The customer may find out a way to check the underlying formulas and data.
Copy link to clipboard
Copied
Actually, maybe the best solution is to flatten the PDF before sending it to the client. Make a button that uses the "hide field" action, and also set it to hide itself and then flatten the PDF. Don't save back to the original.
You can download a free flatten tool here:
https://www.pdfscripting.com/public/Free_Acrobat_Automation_Tools.cfm