Hi all,
I want to change the paper type via Java Script to A4.
The hierarchy:
data -->pageSet -->page1 (A4)
![](/skins/images/4421443F8115E51B27D2316FC045CAEF/responsive_peak/images/image_not_found.png)
Is this the right syntax, if I want ot switch the page1 to A4? ...and which "Event" should I use? --->initialize?
data::initialize - (JavaScript, both)
xfa.data.pageSet.page1.medium.stock = "A4";