Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Populating a Text Field on Master Page

Avatar

Level 1

Hello and thank you for the time to read this, I'm working with Lifecycle Designer and using JavaScript to populate a field in the master page; the weirdest thing is going on where I added a button on the first page of the document

for (i=0; i<xfa.host.numPages;i++)

{

this.resolveNode("#pageSet.QuickReferance[" + i + "].txtName").rawValue = nName.value;

this.resolveNode("#pageSet.QuickReferance[" + i + "].txtName").access = "readOnly"

}

ad it does what it was supposed to; Now when I go to add to page 5 of the form it still loops I checked with a message box that told me the value of I. but nothing happens to txtName. I did want to say I didn't run page one before I ran page 5.



0 Replies