Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Virtual field

Explorer ,
Jul 09, 2021 Jul 09, 2021

Copy link to clipboard

Copied

I have duplicate field in every page for example text field "Page number."  Found the total number field is 3 more than total page. 

Finally found  fields Text.PageNumber#5 , Text.PageNumber#6 , and Text.PageNumber#7 are virtually present , But actually NOT present in the form. Rt click not active for these 3 field. I interpret as virtually present...

 

i am trying to set position by script by following scipt

for (var i =1 ;i<=50 ; i++) {
var target = "Text.PageNumber." + i;
if (this.getField (target) != null  ) {
this.getField (target).rect = [ 473.00 , 774.00 , 560.00 , 792.00 ];
this.getField (target).alignment = "right" ;
} }

 

When above goes to 5th .. it throws error "InvalidSetError: Set not possible, invalid or unknown."

 

is it any way to find.

 

Please.help ..

1.jpg2.jpg

TOPICS
JavaScript, PDF forms

Views

47

Likes

Translate

Translate

Report

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
Engaged ,
Jul 10, 2021 Jul 10, 2021

Copy link to clipboard

Copied

if you sort by Tab Order, you should see the pages where are located these fields!
Capture_d’écran_2021-07-10_à_12_15_16.png
@+

Likes

Translate

Translate

Report

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 ,
Jul 10, 2021 Jul 10, 2021

Copy link to clipboard

Copied

 In the tab order i can see these 3 fields. But NOT exist in anyof page. In the tab order ..for  these field right click not work, nothing display for right click

Likes

Translate

Translate

Report

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
Engaged ,
Jul 10, 2021 Jul 10, 2021

Copy link to clipboard

Copied

LATEST

Is it possible you share your file?

Likes

Translate

Translate

Report

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