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

Script to refer a field in particular page

Explorer ,
Jun 11, 2021 Jun 11, 2021

i am beginner adobe scrip. I have 15 page. Particular Field name(age) present  in all the page. Depending value i entered in  particulat field in first page. i want by script. automaticallywrite in pagse 5  &   9  in the  Field name(age)

 

Please help..Gratitude.

TOPICS
Create PDFs , Edit and convert PDFs , General troubleshooting , How to , JavaScript , PDF forms
1.1K
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 ,
Jun 11, 2021 Jun 11, 2021

If I understand correctly, you don't need script for that, if your fields are named same once you entered value in one field it will be in all fields with same name.

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 ,
Jun 11, 2021 Jun 11, 2021

I want to write field only in particular page age#5 and age#9. Also please help how to point particulat page and feild in that page 

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 ,
Jun 11, 2021 Jun 11, 2021

As Nesa stated, fields with the same name get the same value automatically. So the solution is to rename the "age" fields to have differnent names.  If you want some of these fields to share a value, then give them the same name.  

 

Now, a script will be needed if more complex behavior is required. Ask us about that after you fix this issue. 

 

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

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 ,
Jun 19, 2021 Jun 19, 2021

Thanks for your suggestion. I will rename field with different name. How to refer the  field in particular  page.  (Script)

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 ,
Jun 19, 2021 Jun 19, 2021
LATEST

When you have renamed the field use the new name.

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