hello I have a problem
in the master page I have a textfield
this textfield must be visible within the pdf document
and up to here no problem
within the document there is a button that makes a series of checks
if these checks are successful the textfield, in the masterpage, has become invisible
if I write this script
form1.pageSet.Page1.TextField2.presence = "hidden";
The textfield is not shown for only the first page
for all other pages can be seen
how can I do ?????
forgive me for my English
thank's
Solved! Go to Solution.
Views
Replies
Total Likes
Each TextField1 on each page is unique based on an occurance number. If no occurance number is used the 1st occurance is assumed. So the one on th esecond page woudl be:
form1.pageSet.Page1[1].TextField2.presence = "hidden";
And on the 3rd page"
form1.pageSet.Page1[2].TextField2.presence = "hidden";
So the easiest way is to get set up a for loop like this:
for (j=0; j< xfa.layout.pageCount();j++){
xfa.resolveNode("form1.pageSet.Page1[" + j + "]").TextField2.presence = "hidden"
}
Paul
Views
Replies
Total Likes
Each TextField1 on each page is unique based on an occurance number. If no occurance number is used the 1st occurance is assumed. So the one on th esecond page woudl be:
form1.pageSet.Page1[1].TextField2.presence = "hidden";
And on the 3rd page"
form1.pageSet.Page1[2].TextField2.presence = "hidden";
So the easiest way is to get set up a for loop like this:
for (j=0; j< xfa.layout.pageCount();j++){
xfa.resolveNode("form1.pageSet.Page1[" + j + "]").TextField2.presence = "hidden"
}
Paul
Views
Replies
Total Likes
HI PAUL Perfect
thank's
Views
Replies
Total Likes
Views
Replies
Total Likes
hi
In your opinion is correct as I did???
Views
Replies
Total Likes
The script is fine but You cannot hide the object that is executing the script. There woudl be no place to put the cursor. If you put the cursor in another field before changing the presence of the object then that will work. I modified your sample (amended the script object).
Hope that helps
Paul
Views
Replies
Total Likes
Hi,Paul:
How to set the Default Vaule of TextField1 likes "vertical" ?
I opened your pdf file , I am interesting for the "WaterMark" direction.
thank you for your sharing. ^_^
Eric
Views
Replies
Total Likes
Do you want to change the value (the text) that TextField1 displays or the direction in which the field is displaying?
Paul
Views
Replies
Total Likes
Hi, Paul:
I want ,the latter , to change the direction in which the field is displaying.
Ha, thank you!
Eric
Views
Replies
Total Likes
On the layout tab beside the Anchor point you can click the icons there to casue th efield to rotate buy 90 degree increments.
Paul
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies