Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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