Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Editable PDF unlink new fields Action

Explorer ,
Apr 04, 2024 Apr 04, 2024

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 

 

TOPICS
How to , PDF forms
1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2024 Apr 04, 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"]);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 04, 2024 Apr 04, 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?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2024 Apr 04, 2024

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2024 Apr 04, 2024

By the way, what kind of fields are these?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 04, 2024 Apr 04, 2024

different kind of fields: checkboxes and/or numeric text fields.

either way it is crazy that I cannot add more ALPHA or BETA kind of choices to the document without affecting the logic for the already existing A, B ,C ,D fields.

Why do they have to incorporate new variables? Why inserting new fields affects the existing ones?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2024 Apr 04, 2024

If they are check-boxes there's a much easier way of doing it: Just give the same field name, but unique export values. Then they will act as a mutually-exclusive group, where only one field can be selected at a time.

I don't have an answer to your queries, but I assume it's caused by the fact you're copying an existing field. If you create a new one from scratch it should not happen.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 04, 2024 Apr 04, 2024

thanks a lot for taking the time to help.

unfortunately even brand new fields are affcted from this straange behaviour

 

e.g. brand new check-box alpha is created, then the already existing a, b, c, d check-boxes (who are "programmed" to be mutually exclusive) include the new "variable" alpha and if clicked they "turn off" also the new check box alpha 🤷🏻‍♂️ 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2024 Apr 04, 2024

Do your actual field names happen to contain a period?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 04, 2024 Apr 04, 2024

no, but they do contain underscore

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2024 Apr 04, 2024

What's your exact version of Acrobat?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 05, 2024 Apr 05, 2024
LATEST

i'm running 2024.001.20643 on mac os ventura

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines