Skip to main content
Participant
May 8, 2024
Question

Hide inputs to form calculations

  • May 8, 2024
  • 1 reply
  • 654 views

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?

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
May 8, 2024

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.

 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
May 8, 2024

Is there a way to also make the button disappear before sharing the PDF?

try67
Community Expert
Community Expert
May 8, 2024

Yes, you can use a script, like this:

this.getField("Button1").display = display.hidden;