Hi,
After a variable change (number) I need to add a blank page.
Can someone please help me? do I need to do this on the datamapper or designer?
Thank you in advance.
Koen
Hi,
After a variable change (number) I need to add a blank page.
Can someone please help me? do I need to do this on the datamapper or designer?
Thank you in advance.
Koen
Hi Koen,
If you are looking to add a blank page when the value of a variable changes, this should be done in designer. You can create a new section and right click on it and make it conditional.
Kind Regards,
Meena
Hi Meena,
that makes sense, but I need to print out the section when the value changes.
How can i accomplish this? I need to check the old value first I think.
this is the conditional script:
var section = merge.template.contexts.PRINT.sections[‘Section 2’];
if (!section) {
throw “‘Section 2’ not found”;
}
if (record.fields[“EAN”] != “”) { //This one has to look if the value has changed
section.enabled = true;
} else {
section.enabled = false;
}
Hi All,
I don’t have a solution but had to comment regarding the mention of this really needed feature that PP7 has. We need an On Change function in the designer. Let me put it like this…
We need an On Change function in the designer.
Seriously though, is this in R&D’s todo list? If not can you please add it.
Regards,
S
Hi Koen,
Yes, you are right. This is the script which checks for the data field value and enables the section.Please confirm if you are trying to check for any specific value for the data field or you want to add the blank page when the value is different from the previous value.
Kind Regards,
Meena
Hi Sharne,
Thank you for your feedback. Yes, we agree that an On Change function in designer will be the simple solution for this. We will check our R&D’s todo list and will add recommend this one if its not there.
Kind Regards,
Meena
Many thanks Meena. I have been missing this feature since the days of PP7. Much appreciated.
Regards,
S
Hi Meena,
Any news regarding this feature?
Regards,
S