cancel
Showing results for 
Search instead for 
Did you mean: 

Set the pagination property of master page through scripting

Former Member
0 Kudos

Hi,

Is it possible to set the Pagination property of a master page via scripting.

Where and how can this be set if at all possible.

There are properties like oddOreven etc available. but how can they be used in scripting.

Regards

Neha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes you can set the pagination property dynamically in Java Script or formcalc.

The sample code in Java script as follows:

xfa.form.form1.pageSet.Page1.oddOrEven = "even";

The possible values are "any" , " odd" , "even"

You can write this code in the initialize event.

Also, the 'Printing' property of the master page set should not Page occurance.It should be either both sides or front side only.

Former Member
0 Kudos

Hi Ankit,

Thanks for the reply.

I have already tried setting this property but it doesnt work.

Could you possibly give me an example where and how can this be set.

Regards

Neha

OttoGold
Active Contributor
0 Kudos

I am not sure why would you set the property for the master page? Why don´t you set it for the body pages? Otto

p.s.: master pages behavior differs a lot from the body pages/ subforms, at least that is my experience (I my lack some knowledge about it, but that is my experience after 3 yrs).

Regards Otto