Hi there,
I try to disable a page section from Pagination script, when Preview it which shows correctly the section has been skipped however when i use print or proof print, the page are sitll printing
Any ideas?
var sectionAdditonal = merge.template.contexts.PRINT.sections[“AdditionPage”];
merge.context.query("#tableEnd").each(function( index ) {
pageNo = this.info().pageNo;
});
if(pageNo %2 ==0)
{
sectionAdditonal.enabled = false;
}
merge.section.paginate()