Skip to main content
jasons35699793
Known Participant
April 8, 2020
Question

Use file name to adjust document settings

  • April 8, 2020
  • 1 reply
  • 400 views

I have a document that is used for filling out FEMA flood certificates. Part of the document is set up so that when we use the address as the file name appended with -CD , -UC , or -FC it ignores anything after the dash and fills in the box for the street address. Is it possible to adjust this so that the address still completes and have the part after the - activate a radio button that changes fields that are calculated and read only to uncalculated fields that require a number to be entered.

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
April 8, 2020

Yes, but, if the radio button changes fields based on a mouseUP, you'll need to make those changes from the same script that changes the radio button. 

 

Why don't you give it a try and see what happens.  

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often