Skip to main content
Known Participant
April 4, 2024
Question

Editable PDF unlink new fields Action

  • April 4, 2024
  • 1 reply
  • 2156 views

This is drivign me mad.

So I have this editable pdf with forms that I need to modify (wasn't created by me originally)

"Field A" has in properties an action that resets "Field B", "Field C", "Field D"

B, C, D does the same for A

So if you can only fill/select one of them, clicking or filling one of them resets the others.

Great.

 

If I duplicate one of them or, more unexpectedly if I create a BRAND NEW FIELD (e.g. "Filed ALPHA")

in all the above fields (A to D), into their properties/action/trigger/etc I find this new field!

they are somehow connected and I have to manually uncheck this new "Alpha" to avoid being erased when one of the above A to D are selected.

 

how do I avoid new fields to be nested in the logic adopted for the A, B, C, D fields?

thanks in advance for your help

 

PS: I use Acrobat in italian so maybe some references (Actions, trigger, etc) may be inaccurate 

 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
April 4, 2024

That is strange, and should not happen. The easiest solution is to reset the fields using a script. Then this won't happen for sure. To do so you can use the following code:

this.resetForm(["Field B", "Field C", "Field D"]);

marco_linAuthor
Known Participant
April 4, 2024

thanks for your reply, but this reset will cause to loose also previous programmed behaviour?

meaning that there will be no connection to the new field Alpha but I will have also to define again the logic for the A-B-C-D fileds?

 

try67
Community Expert
Community Expert
April 4, 2024

You will have to replace your existing commands to clear the fields with this new one, based on JS code, yes.